osCommerce file_manager.php Arbitrary PHP Code Injection (intrusive check)

high Nessus Plugin ID 42351

Synopsis

The remote web server contains a PHP script that can be abused to execute arbitrary PHP code.

Description

The version of osCommerce hosted on the remote web server allows a remote attacker to access the Admin filemanager utility without authentication. Further, this utility appears to allow arbitrary PHP code to be stored in files under the web server's document directory and then executed subject to the privileges under which the web server operates.

Solution

Secure the osCommerce 'admin' folder by renaming it and / or defining access controls for it.

Also, consider removing the 'file_manager.php' script.

See Also

https://forums.oscommerce.com/topic/343958-new-exploit/

Plugin Details

Severity: High

ID: 42351

File Name: oscommerce_filemanager_cmd_injection.nasl

Version: 1.13

Type: remote

Family: CGI abuses

Published: 11/3/2009

Updated: 6/1/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Vulnerability Information

Required KB Items: www/oscommerce

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Exploited by Nessus: true

Vulnerability Publication Date: 8/31/2009