CVE-2025-56162
Last modified
CVE-2025-56162 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. YOSHOP 2.0 suffers from an unauthenticated SQL injection in the goodsIds parameter of the /api/goods/listByIds endpoint. The getListByIds function concatenates user input into orderRaw('field(goods_id, ...)'), allowing attackers to: (a) enumerate or modify database data, including dumping admin password hashes; (b) write web-shell files or invoke xp_cmdshell, leading to remote code execution on servers configured with sufficient DB privileges.. EPSS estimates a 0.46% chance of exploitation in the next 30 days.
Description
YOSHOP 2.0 suffers from an unauthenticated SQL injection in the goodsIds parameter of the /api/goods/listByIds endpoint. The getListByIds function concatenates user input into orderRaw('field(goods_id, ...)'), allowing attackers to: (a) enumerate or modify database data, including dumping admin password hashes; (b) write web-shell files or invoke xp_cmdshell, leading to remote code execution on servers configured with sufficient DB privileges.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Yiovo | Firefly Mall | >= 2.01 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-56162?
How severe is CVE-2025-56162?
How do I fix CVE-2025-56162?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-56146Indian Bank IndSMART Android App 3.8.1 is vulnerable to Miss…5.3
- CVE-2025-5615A vulnerability was found in PHPGurukul Online Fire Reportin…8.8
- CVE-2025-56154htmly v3.0.8 is vulnerable to Cross Site Scripting (XSS) in …6.1
- CVE-2025-56157Default credentials in Dify thru 1.5.1. PostgreSQL username …9.8
- CVE-2025-5616A vulnerability was found in PHPGurukul Online Fire Reportin…8.8
- CVE-2025-56161YOSHOP 2.0 allows unauthenticated information disclosure via…7.5
- CVE-2025-5617A vulnerability classified as critical has been found in PHP…9.8
- CVE-2025-5618A vulnerability classified as critical was found in PHPGuruk…9.8
- CVE-2025-5619A vulnerability, which was classified as critical, has been …9.8
- CVE-2025-5620A vulnerability, which was classified as critical, was found…9.8
- CVE-2025-56200A URL validation bypass vulnerability exists in validator.js…6.1
- CVE-2025-56207A security flaw in the '_transfer' function of a smart contr…6.5
Are you affected by CVE-2025-56162?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
