SQLi in LASCO CME Query
A SQL injection flaw exists in the CME DateTime parameter of a form, allowing an attacker to inject SQL commands. The reporter demonstrated that the MySQL server version could be printed, but did not explore further data access.
Originally disclosed on HackerOne
- Triaged in under an hour
- Fixed in 2 months
- Disclosed after 9.1 years
Summary: There is sqli in the form █████████ on the "CME DateTime" parameter.
I'm also fairly sure ████████ has similar SQLis but its somehow protected by a WAF.
Description:
Impact
The impact is probably quite low but I have not checked to see what other data is accessible via the sqli (loadfile, other databases etc. )
Step-by-step Reproduction Instructions
- Go to ████████. Enter
' and 1 or 1 GROUP BY CONCAT_WS(0x3a,VERSION(),FLOOR(RAND(0)*2)) HAVING MIN(0) OR 1 -- -in CME DateTime field - It will print out the MySQL server version
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
The impact is probably quite low, but the reporter has not checked what other data is accessible via the SQL injection.
What the attacker needed
Access to the form
How it was found
- Go to the form page.
- Enter a crafted SQL payload in the CME DateTime field.
- Observe the MySQL server version printed in the response.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
SQL injection is when a website puts user input directly into a database command without cleaning it. Here, typing special characters into a date field made the database reveal its version number, which shows the input is not being handled safely.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.