CVE-2025-51667
vulnerability analysis and mitigation

Overview

A SQL injection vulnerability was discovered in simple-admin-core versions 1.2.0 through 1.6.7. The vulnerability affects the /sys-api/role/update interface in the simple-admin-core system, which was disclosed on August 27, 2025. This security flaw has been assigned the identifier CVE-2025-51667 and could potentially lead to partial data leakage or disruption of normal system operations (MITRE, NVD).

Technical details

The vulnerability stems from improper neutralization of special elements used in SQL commands (CWE-89). The issue specifically occurs when the code value passed to the /sys-api/role/update interface is directly inserted into the SQL statement operating on the casbin_rules table. While the system restricts the code length to 20 characters, which limits the potential exploitation scope, it still presents a security risk. The vulnerability has received a CVSS v3.1 base score of 7.0 (High), with the following vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L (AttackerKB, GitHub Issue).

Impact

The vulnerability can lead to multiple security impacts including partial data leakage from the database, potential MySQL DDoS attacks through exploitation of sleep commands that could occupy the database thread pool, and arbitrary modification of data in the casbin_rules table. These impacts could result in disruption of normal system operations and compromise of data confidentiality (GitHub Issue).

Mitigation and workarounds

Users should upgrade to a version newer than v1.6.7 when available. In the interim, it is recommended to implement proper input validation and sanitization for the code parameter in the /sys-api/role/update interface (NVD).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management