LiveActive security incident?Get immediate response
CVE Record

CVE-2018-25342: Smartshop 1 SQL Injection via search.php

Smartshop 1 contains a time-based blind SQL injection vulnerability that allows unauthenticated attackers to manipulate database queries by injecting SQL code through the 'searched' parameter in search.php. Attackers can send GET requests with malicious SQL payloads like SLEEP commands to extract sensitive database information including product details and system data.

HighCVSS 8.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Smartshop 1, a free open-source e-commerce demo project, has a flaw in its search page that lets anyone on the internet send crafted requests to trick the database into revealing information. No login is required. If your organization runs this code, an attacker could quietly pull sensitive data from the site's database.

Executive priority

Priority is high only if Smartshop code is in your environment; otherwise informational. Because it is a demo project with a public exploit, any exposed instance should be triaged immediately. Assign a web/application security owner to verify inventory within 48 hours.

Technical view

The 'searched' GET parameter in search.php is passed to the database without proper sanitization, enabling time-based blind SQL injection (CWE-89). Unauthenticated attackers can infer database contents by observing response delays caused by injected SLEEP-style payloads. A public ExploitDB entry (44823) and a VulnCheck advisory document the issue against Smartshop 1.0.

Likely exposure

Exposure is limited because Smartshop is a small, free demo e-commerce project distributed via GitHub rather than a widely deployed commercial platform. Organizations that forked or deployed the code as-is to a public-facing web server are exposed; typical enterprises are unlikely to run it in production.

Exploitation context

A public exploit (ExploitDB-44823) exists, lowering the skill bar for attackers. CVE is not listed in CISA KEV and no cited source confirms active in-the-wild exploitation. The attack is network-based, requires no authentication or user interaction, and is trivial to automate against exposed instances.

Researcher notes

CVSS 4.0 vector reports AV:N/AC:L/PR:N/UI:N with high confidentiality impact, consistent with unauthenticated blind SQLi enabling data extraction. Vendor listed as 'Behance' reflects the project's hosting page; actual codebase is smakosh/Smartshop on GitHub. No patch is cited in the bundle — check upstream repository activity before recommending a specific fix.

Mitigation direction

  • Inventory web assets to confirm whether any Smartshop 1.0 code is deployed or forked.
  • Take affected instances offline or place behind authentication until remediated.
  • Deploy a WAF rule blocking SQL injection patterns against search.php's 'searched' parameter.
  • Replace vulnerable query construction with parameterized queries or prepared statements.
  • Check the upstream GitHub repository and vendor references for any updated guidance.

Validation and detection

  • Grep source for 'search.php' and confirm whether 'searched' input is concatenated into SQL.
  • Review web server logs for unusual query strings targeting search.php with SQL keywords or SLEEP.
  • Run an authenticated SAST or SQLi scanner against the search endpoint in a test environment.
  • Confirm database user privileges are least-privilege to limit blast radius if exploited.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-89: Database access and collection lookup

Injection into data stores can inform collection, data access, and exfiltration detection reviews. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2018-25342 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.8 (4.0)
Known Exploited
No
Published

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
3Timeline events
1ADP providers
5Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: yesTechnical Impact: partial

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.8CVSS 4.0HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:NVulnCheck
8.2CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N3.94.2VulnCheck

Vulnerability scoring details

Base CVSS 4.0 score

8.8High
CVSS 4.0 vector shape for CVE-2018-25342Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
BehanceSmartshop1.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-89 · source CWE mapping

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.