Authenticated command execution via unsanitized user_upd query
Published Dec 31, 2024 · Updated Dec 31, 2024
SQL injection in CodeAstro Online Food Ordering System 1.0 allows remote authenticated users to execute SQL via user_upd. The /admin/update_users.php script embeds the GET parameter directly inside a quoted SELECT predicate and passes the resulting string to mysqli_query. Access to the administrative Update User page is required; a crafted UNION query can write a PHP file and execute commands when the database account permits OUTFILE.
Summary
What happened
SQL injection in CodeAstro Online Food Ordering System 1.0 allows remote authenticated users to execute SQL via user_upd. The /admin/update_users.php script embeds the GET parameter directly inside a quoted SELECT predicate and passes the resulting string to mysqli_query. Access to the administrative Update User page is required; a crafted UNION query can write a PHP file and execute commands when the database account permits OUTFILE.
The record
- CVE
- CVE-2024-13070
- Published
- Dec 31, 2024
- Updated
- Dec 31, 2024
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-74, CWE-89, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 31, 2024CVE publishedPublication date reported by the CVE source.
- Dec 31, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Remote Code Execution via SQL Injection in Online Food Ordering Systemproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo