{"id":"CVE-2025-56162","sourceIdentifier":"cve@mitre.org","published":"2025-10-02T16:15:35.047","lastModified":"2026-11-05T23:10:00.150","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"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."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":2.5}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-10-02T19:26:06.240425Z","id":"CVE-2025-56162","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-89"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:yiovo:firefly_mall:*:*:*:*:open_source:*:*:*","versionStartIncluding":"2.01","matchCriteriaId":"3D9A314C-46D3-418D-AFAF-93394EFCFF32"}]}]}],"references":[{"url":"https://gitee.com/xany/yoshop2.0","source":"cve@mitre.org","tags":["Product"]},{"url":"https://github.com/ZyWAC/CVE-Disclosures/blob/6b337a44934ffe948275995e9b79158e97c78fc4/2025/YOSHOP2.0/CVE-2025-56162.md","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"]}]}