CVE-2024-57521
Full vulnerability record from the local CVENow database.
Description
SQL Injection vulnerability in RuoYi v.4.7.9 and before allows a remote attacker to execute arbitrary code via the createTable function in SqlUtil.java.
Severity
CRITICAL
CVSS score
10.0
(v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2025-12-23 17:15:46.723000
Last modified
2026-10-27 18:10:00.130000
View original CVE JSON
{
"id": "CVE-2024-57521",
"sourceIdentifier": "[email protected]",
"published": "2025-12-23T17:15:46.723",
"lastModified": "2026-10-27T18:10:00.130",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "SQL Injection vulnerability in RuoYi v.4.7.9 and before allows a remote attacker to execute arbitrary code via the createTable function in SqlUtil.java."
},
{
"lang": "es",
"value": "Vulnerabilidad de inyección SQL en RuoYi versiones anteriores o iguales a la 4.7.9 permite a un atacante remoto ejecutar código arbitrario a través de la función createTable en SqlUtil.java."
}
],
"affected": [
{
"source": "[email protected]",
"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:C/C:H/I:H/A:H",
"baseScore": 10.0,
"baseSeverity": "CRITICAL",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "CHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 3.9,
"impactScore": 6.0
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2025-12-23T19:12:11.132951Z",
"id": "CVE-2024-57521",
"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:ruoyi:ruoyi:*:*:*:*:*:*:*:*",
"versionEndIncluding": "4.7.9",
"matchCriteriaId": "23C8B479-ECDA-4F19-8547-4129C63F3E0E"
}
]
}
]
}
],
"references": [
{
"url": "https://gitee.com/y_project/RuoYi/commit/ddd858ca732618a472b10eaab2f8e4b45812ffc5",
"source": "[email protected]",
"tags": [
"Patch",
"Permissions Required"
]
},
{
"url": "https://gitee.com/y_project/RuoYi/issues/IBC976",
"source": "[email protected]",
"tags": [
"Issue Tracking"
]
},
{
"url": "https://github.com/mrlihd/CVE-2024-57521-SQL-Injection-PoC/blob/main/README.md",
"source": "[email protected]",
"tags": [
"Exploit",
"Third Party Advisory"
]
},
{
"url": "https://github.com/mrlihd/Ruoyi-4.7.9-SQL-Injection-PoC",
"source": "[email protected]",
"tags": [
"Exploit",
"Third Party Advisory"
]
}
]
}