Junglewise Threat Intelligence

CVE-2018-25342: Smakosh Smartshop SQL injection in search.php

CVE-2018-25342 · Severity: high · CVSS 8.2 · Published 2026-05-23

Technologies: Smakosh Smartshop. Vendors: Smakosh.

Executive brief

Smartshop, an e-commerce platform, contains a security flaw in its search and product filtering features. An unauthorized attacker can use this flaw to access the underlying database without a password. This could lead to the theft of sensitive business information, including product data and system configurations, potentially damaging the company's reputation and operational security.

Technical details

Smartshop 1 is vulnerable to SQL injection across multiple components, most notably a time-based blind injection in search.php via the 'searched' GET parameter. The application fails to sanitize user input before incorporating it into SQL queries, specifically within the WHERE clause of product lookups. An unauthenticated remote attacker can send crafted GET requests containing SQL payloads (such as SLEEP commands) to infer database contents. Additional entry points were identified in category.php and product.php via the 'id' parameter, which support Union-based extraction. No official patch is documented, though the vulnerability was disclosed alongside proof-of-concept code.

Affected products

  • Smakosh Smartshop 1.0

Timeline

  • 2018-06-02: disclosed: Initial discovery and proof-of-concept published by researcher L0RD
  • 2026-05-23: advisory: CVE-2018-25342 published to NVD via VulnCheck

References

Related threats