Database read and modification via id SQL injection
Published Apr 21, 2023 · Updated Feb 4, 2025
SQL injection in CampCodes Coffee Shop POS System 1.0 allows remote authenticated users to read and modify database data via the id parameter. The /admin/products/view_product.php handler incorporates the attacker-controlled id value into a database query without neutralizing SQL syntax. A valid application session is required to reach the administrative product-view endpoint; successful queries can disclose or alter application database records.
Summary
What happened
SQL injection in CampCodes Coffee Shop POS System 1.0 allows remote authenticated users to read and modify database data via the id parameter. The /admin/products/view_product.php handler incorporates the attacker-controlled id value into a database query without neutralizing SQL syntax. A valid application session is required to reach the administrative product-view endpoint; successful queries can disclose or alter application database records.
The record
- CVE
- CVE-2023-2212
- Published
- Apr 21, 2023
- Updated
- Feb 4, 2025
- Vendor
- CampCodes
- Product
- Coffee Shop POS System
- Classifications
- CWE-89, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 21, 2023CVE publishedPublication date reported by the CVE source.
- Feb 4, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.0
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Coffee Shop POS System - vuln 4proof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo