CVE-2012-1664 in osCMaxinfo

Summary

by MITRE

Multiple cross-site scripting (XSS) vulnerabilities in the admin panel in osCMax before 2.5.1 allow remote attackers to inject arbitrary web script or HTML via the (1) username parameter in a process action to admin/login.php; (2) pageTitle, (3) current_product_id, or (4) cPath parameter to admin/new_attributes_include.php; (5) sb_id, (6) sb_key, (7) gc_id, (8) gc_key, or (9) path parameter to admin/htaccess.php; (10) title parameter to admin/information_form.php; (11) search parameter to admin/xsell.php; (12) gross or (13) max parameter to admin/stats_products_purchased.php; (14) status parameter to admin/stats_monthly_sales.php; (15) sorted parameter to admin/stats_customers.php; (16) information_id parameter to /admin/information_manager.php; or (17) zID parameter to /admin/geo_zones.php.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 02/08/2025

The CVE-2012-1664 vulnerability represents a critical cross-site scripting flaw affecting the osCMax e-commerce platform's administrative interface prior to version 2.5.1. This vulnerability stems from insufficient input validation and sanitization within multiple administrative scripts, creating persistent attack vectors that allow remote attackers to execute malicious scripts in the context of authenticated admin sessions. The flaw specifically targets the admin panel components where user input is directly incorporated into web responses without proper encoding or filtering mechanisms. This vulnerability falls under CWE-79, which categorizes cross-site scripting as a critical web application security weakness that enables attackers to inject client-side scripts into web pages viewed by other users.

The technical implementation of this vulnerability occurs through multiple entry points within the administrative interface, each representing a distinct injection point where unvalidated user input is processed and reflected back to users. The attack vectors span across various administrative functions including login authentication, product management, statistics reporting, and content management modules. Attackers can exploit these vulnerabilities by crafting malicious payloads in parameters such as username, pageTitle, cPath, and numerous others that are processed by different administrative scripts. The vulnerability is particularly concerning because it operates within the administrative context, meaning successful exploitation could provide attackers with full administrative privileges and access to sensitive business data.

The operational impact of CVE-2012-1664 extends beyond simple script injection, as it enables attackers to perform sophisticated attacks including session hijacking, data exfiltration, and persistent backdoor establishment within the compromised system. When an administrator accesses a maliciously crafted URL containing injected scripts, the malicious code executes in the context of the admin session, potentially allowing attackers to modify product catalogs, manipulate pricing, access customer data, or even install malware. The vulnerability's persistence across multiple administrative modules increases the attack surface significantly, as different parameters can be exploited depending on the administrative function being targeted. This creates a substantial risk for e-commerce businesses that rely on osCMax for their operations, as successful exploitation could result in complete system compromise and financial loss.

Mitigation strategies for this vulnerability require immediate patching to osCMax version 2.5.1 or later, which implements proper input validation and output encoding mechanisms. Organizations should also implement comprehensive input sanitization across all administrative interfaces, applying proper HTML entity encoding to all user-supplied data before rendering in web responses. Network-based mitigations include implementing web application firewalls that can detect and block XSS attack patterns, while also enforcing strict access controls for administrative interfaces through authentication mechanisms and IP whitelisting. The vulnerability aligns with ATT&CK technique T1059.007 for command and scripting interpreter, as attackers could potentially leverage the XSS to execute malicious commands through the compromised administrative session, and T1566 for spearphishing with a link, as the attack typically involves delivering malicious payloads through compromised web pages or links. Additionally, organizations should conduct regular security assessments of their web applications and implement proper security training for administrators to recognize and respond to potential XSS attack vectors.

Reservation

03/14/2012

Disclosure

05/20/2015

Moderation

accepted

Entry

VDB-75480

CPE

ready

Exploit

Download

EPSS

0.00979

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!