Authenticated SQL injection via unsanitized upload filename
Published Apr 6, 2026 · Updated Apr 6, 2026
SQL injection in PHPGurukul Online Shopping Portal Project 2.1 allows remote authenticated users to manipulate the database through image uploads. The /admin/update-image2.php handler inserts the multipart upload filename into an SQL query without sanitization or parameter binding. Reachability requires an authenticated session with access to the administrative image-update endpoint; crafted filenames can read, alter, or delete database data.
Summary
What happened
SQL injection in PHPGurukul Online Shopping Portal Project 2.1 allows remote authenticated users to manipulate the database through image uploads. The /admin/update-image2.php handler inserts the multipart upload filename into an SQL query without sanitization or parameter binding. Reachability requires an authenticated session with access to the administrative image-update endpoint; crafted filenames can read, alter, or delete database data.
The record
- CVE
- CVE-2026-5640
- Published
- Apr 6, 2026
- Updated
- Apr 6, 2026
- Vendor
- jaychouchannel
- Product
- Online Shopping Portal Project
- Classifications
- CWE-74, CWE-89, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 6, 2026CVE publishedPublication date reported by the CVE source.
- Apr 6, 2026Record 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=2.1
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
- Multipart filename time-based blind SQL injection proof of conceptproof of concept · demonstrated
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