Skip to content
SQL injection Write-up Intermediate

vBulletin <= 5.5.4 Two SQL Injection Vulnerabilities

User input passed through keys of the 'where' parameter to the 'ajax/api/hook/getHookList' endpoint is not properly validated before being used in an SQL query. An attacker with an account having the 'canadminproducts' or 'canadminstyles' permission could exploit this to read sensitive data from the database through in-band SQL injection attacks.

karmainsecurity.com

Published on karmainsecurity.com

The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2019-17271 to these vulnerabilities.

The author, on karmainsecurity.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker with the required permissions could read sensitive data from the database through in-band SQL injection attacks.

What the attacker needed

An account with canadminproducts or canadminstyles…

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 write-up has not been written yet. The Original tab links to the source.

The software takes some input from a web request and puts it directly into a database command without checking it. A malicious user could trick the database into revealing information it should not. This is called SQL injection, and it requires the attacker to already have a special admin-like account.

What is SQL injection?

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.

Similar reports

View all

Same bug class and techniques, clearest first.

SQL injection

The lesson behind this report.

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.