6.5medium
YOSHOP 2.0 suffers from an unauthenticated SQL injection in the goodsIds parameter of the /api/goods/listByIds endpoint.
- Severity
- 6.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.60% (higher than 43% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| yiovo firefly_mall | from 2.01 | NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
What each source says
CVE List
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.
NVD (es)
YOSHOP 2.0 sufre de una inyección SQL no autenticada en el parámetro goodsIds del endpoint /api/goods/listByIds. La función getListByIds concatena la entrada del usuario en orderRaw(’field(goods_id, ...)’), permitiendo a los atacantes: (a) enumerar o modificar datos de la base de datos, incluyendo el volcado de hashes de contraseñas de administrador; (b) escribir archivos web-shell o invocar xp_cmdshell, lo que lleva a la ejecución remota de código en servidores configurados con privilegios de base de datos suficientes.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-56162 changed 2025-10-02 | CVE Terms of Use |
| NVD | CVE-2025-56162 changed 2026-11-05 | Public domain |