SQL injection in https://www.acronis.cz/ via the log parameter
A SQL injection vulnerability was found in the log parameter of a POST request to the Acronis Czech website. An attacker could use it to bypass authentication and retrieve database contents, and potentially execute OS commands.
- Triaged in 1 hour
- Fixed in 11 days
- Paid in 26 hours
- Disclosed after 4 months
I have discovered a SQL injection in https://www.acronis.cz/ using the POST request via the log parameter. Using sqlmap, I have retrieved the current user: 'u_acronis@localhost''
The command used: sqlmap -p log -r request-cz.txt --current-user --level=2 --risk=2
I did not perform any other actions.
Impact
An attacker can use SQL injection it to bypass a web application's authentication and authorization mechanisms and retrieve the contents of an entire database. This can also be used by an attacker to execute OS commands, which may then be used to escalate an attack even further.
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
An attacker could bypass authentication and authorization and retrieve the entire database, and may also be able to execute OS commands to escalate the attack.
What the attacker needed
Ability to send a POST request with a log parameter
How it was found
- Capture a POST request to the target that includes the log parameter.
- Run sqlmap against the saved request, specifying the log parameter, to confirm the injection and retrieve the current database user.
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 user input is inserted directly into a database query without proper handling, letting an attacker change the query's meaning. Here, the 'log' field in a form submission was vulnerable, so an attacker could trick the database into revealing information or running commands.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.