CVE-2019-25495 in osCommerceinfo

Summary

by MITRE • 02/27/2026

osCommerce 2.3.4.1 contains a SQL injection vulnerability that allows unauthenticated attackers to manipulate database queries by injecting SQL code through the reviews_id parameter. Attackers can send GET requests to product_reviews_write.php with malicious reviews_id values using boolean-based SQL injection payloads to extract sensitive database information.

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

Analysis

by VulDB Data Team • 03/04/2026

The vulnerability identified as CVE-2019-25495 affects osCommerce version 2.3.4.1, representing a critical security flaw that undermines the integrity of database operations within this e-commerce platform. This SQL injection vulnerability exists in the product_reviews_write.php script where the reviews_id parameter is processed without proper input validation or sanitization. The flaw allows unauthenticated attackers to exploit the application by crafting malicious GET requests that manipulate the underlying database queries through boolean-based SQL injection techniques. The vulnerability stems from insufficient parameter validation and improper escaping of user-supplied input, creating an attack surface where malicious actors can directly influence SQL command execution.

The technical implementation of this vulnerability follows the patterns outlined in CWE-89 which specifically addresses SQL injection flaws in software applications. Attackers can leverage this weakness by injecting specially crafted boolean-based payloads into the reviews_id parameter to infer database structure and extract sensitive information through time-based or boolean-based response differences. The vulnerability operates at the application layer where user input directly influences database query construction, making it particularly dangerous as it requires no authentication credentials to exploit. The attack vector specifically targets the product_reviews_write.php endpoint which processes review submissions and likely uses the reviews_id parameter to retrieve existing review data or validate user permissions before processing new submissions.

From an operational impact perspective, this vulnerability exposes the osCommerce installation to significant data compromise risks including unauthorized data extraction, modification, or deletion of sensitive customer and business information. Attackers can potentially extract administrative credentials, customer personal data, product information, and financial details through systematic database enumeration techniques. The boolean-based SQL injection approach allows for gradual information disclosure without necessarily causing immediate system disruption, making the attack harder to detect and more persistent. The vulnerability also impacts the platform's overall security posture by potentially enabling further attacks such as privilege escalation or lateral movement within the compromised system.

Mitigation strategies for CVE-2019-25495 should prioritize immediate patching of the osCommerce application to the latest available version that addresses this specific vulnerability. Organizations should implement proper input validation and parameterized queries to prevent SQL injection attacks, ensuring that all user-supplied parameters are properly escaped or validated before being incorporated into database queries. The implementation of web application firewalls and security monitoring systems can help detect and block malicious SQL injection attempts targeting this vulnerability. Additionally, database access controls should be reviewed to ensure that application accounts have minimal required privileges, following the principle of least privilege as recommended in cybersecurity frameworks such as NIST SP 800-53. Regular security assessments and penetration testing should be conducted to identify similar vulnerabilities in other application components and ensure comprehensive protection against similar attack vectors.

Responsible

VulnCheck

Reservation

02/27/2026

Disclosure

02/27/2026

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00327

KEV

no

Activities

very low

Sources

Do you want to use VulDB in your project?

Use the official API to access entries easily!