Arbitrary SQL execution via unsanitized page identifier
Published Aug 17, 2023 · Updated Oct 7, 2024
SQL injection in Online Travel Agency System 1.0 allows remote authenticated users to execute SQL via article_edit.php page_id input. The handler copies page_id directly from the GET request into a quoted SELECT statement and returns MySQL errors, enabling error-based extraction. Admin-panel access is required, and the published proof discloses the database name; broader database effects are not publicly demonstrated.
Summary
What happened
SQL injection in Online Travel Agency System 1.0 allows remote authenticated users to execute SQL via article_edit.php page_id input. The handler copies page_id directly from the GET request into a quoted SELECT statement and returns MySQL errors, enabling error-based extraction. Admin-panel access is required, and the published proof discloses the database name; broader database effects are not publicly demonstrated.
The record
- CVE
- CVE-2023-31940
- Published
- Aug 17, 2023
- Updated
- Oct 7, 2024
- Vendor
- Online Travel Agency System Project
- Product
- Online Travel Agency System
- Classifications
- CWE-89, T1190
- Attack vector
- network
- Privileges
- admin
Timeline
How it unfolded
- Aug 17, 2023CVE publishedPublication date reported by the CVE source.
- Oct 7, 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?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.0
What conditions does exploitation require?
What is affected?
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
- Error-based page_id SQL injection proofproof 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