Vulnerabilities > CVE-2007-5056 - Code Injection vulnerability in multiple products
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
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.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 | |
Application | 1 | |
Application | 1 | |
Application | 1 | |
Application | 1 | |
Application | 1 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Leverage Executable Code in Non-Executable Files An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
- Manipulating User-Controlled Variables This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.
Exploit-Db
description Journalness <= 4.1 (last_module) Remote Code Execution exploit. CVE-2007-5056. Webapps exploit for php platform file exploits/php/webapps/5091.pl id EDB-ID:5091 last seen 2016-01-31 modified 2008-02-09 platform php port published 2008-02-09 reporter Iron source https://www.exploit-db.com/download/5091/ title Journalness <= 4.1 last_module Remote Code Execution Exploit type webapps description SAPID CMF Build 87 (last_module) Remote Code Execution Vulnerability. CVE-2007-5056. Webapps exploit for php platform file exploits/php/webapps/5097.txt id EDB-ID:5097 last seen 2016-01-31 modified 2008-02-10 platform php port published 2008-02-10 reporter GoLd_M source https://www.exploit-db.com/download/5097/ title SAPID CMF Build 87 last_module Remote Code Execution Vulnerability type webapps description Open-Realty <= 2.4.3 (last_module) Remote Code Execution Exploit. CVE-2007-5056. Webapps exploit for php platform file exploits/php/webapps/5090.pl id EDB-ID:5090 last seen 2016-01-31 modified 2008-02-09 platform php port published 2008-02-09 reporter Iron source https://www.exploit-db.com/download/5090/ title Open-Realty <= 2.4.3 last_module Remote Code Execution Exploit type webapps description PacerCMS 0.6 (last_module) Remote Code Execution Vulnerability. CVE-2007-5056. Webapps exploit for php platform file exploits/php/webapps/5098.txt id EDB-ID:5098 last seen 2016-01-31 modified 2008-02-10 platform php port published 2008-02-10 reporter GoLd_M source https://www.exploit-db.com/download/5098/ title PacerCMS 0.6 last_module Remote Code Execution Vulnerability type webapps description CMS Made Simple 1.2 Remote Code Execution Vulnerability. CVE-2007-5056. Webapps exploit for php platform file exploits/php/webapps/4442.txt id EDB-ID:4442 last seen 2016-01-31 modified 2007-09-21 platform php port published 2007-09-21 reporter irk4z source https://www.exploit-db.com/download/4442/ title CMS Made Simple 1.2 - Remote Code Execution Vulnerability type webapps
Nessus
NASL family | CGI abuses |
NASL id | ADODB_LITE_LAST_MODULE_CMD_EXEC.NASL |
description | ADOdb Lite, a lightweight database framework for PHP applications, is installed on the remote host. The version of ADOdb Lite on the remote host fails to sanitize input to the |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 26072 |
published | 2007-09-24 |
reporter | This script is Copyright (C) 2007-2018 Tenable Network Security, Inc. |
source | https://www.tenable.com/plugins/nessus/26072 |
title | ADOdb Lite adodb-perf-module.inc.php last_module Parameter Arbitrary Code Execution |
code |
|
References
- http://osvdb.org/40596
- http://osvdb.org/40596
- http://osvdb.org/41422
- http://osvdb.org/41422
- http://osvdb.org/41426
- http://osvdb.org/41426
- http://osvdb.org/41427
- http://osvdb.org/41427
- http://osvdb.org/41428
- http://osvdb.org/41428
- http://secunia.com/advisories/26928
- http://secunia.com/advisories/26928
- http://secunia.com/advisories/28859
- http://secunia.com/advisories/28859
- http://secunia.com/advisories/28873
- http://secunia.com/advisories/28873
- http://secunia.com/advisories/28874
- http://secunia.com/advisories/28874
- http://secunia.com/advisories/28886
- http://secunia.com/advisories/28886
- http://www.attrition.org/pipermail/vim/2007-September/001800.html
- http://www.attrition.org/pipermail/vim/2007-September/001800.html
- http://www.securityfocus.com/bid/25768
- http://www.securityfocus.com/bid/25768
- http://www.vupen.com/english/advisories/2007/3261
- http://www.vupen.com/english/advisories/2007/3261
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36733
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36733
- https://exchange.xforce.ibmcloud.com/vulnerabilities/40389
- https://exchange.xforce.ibmcloud.com/vulnerabilities/40389
- https://exchange.xforce.ibmcloud.com/vulnerabilities/40393
- https://exchange.xforce.ibmcloud.com/vulnerabilities/40393
- https://exchange.xforce.ibmcloud.com/vulnerabilities/40395
- https://exchange.xforce.ibmcloud.com/vulnerabilities/40395
- https://exchange.xforce.ibmcloud.com/vulnerabilities/40396
- https://exchange.xforce.ibmcloud.com/vulnerabilities/40396
- https://www.exploit-db.com/exploits/4442
- https://www.exploit-db.com/exploits/4442
- https://www.exploit-db.com/exploits/5090
- https://www.exploit-db.com/exploits/5090
- https://www.exploit-db.com/exploits/5091
- https://www.exploit-db.com/exploits/5091
- https://www.exploit-db.com/exploits/5097
- https://www.exploit-db.com/exploits/5097
- https://www.exploit-db.com/exploits/5098
- https://www.exploit-db.com/exploits/5098