SQL Injection vulnerability found on ibm.com endpoint
A legacy CGI script on an IBM events subdomain failed to sanitise the learnpaths GET parameter, allowing unauthenticated time-based blind SQL injection. An attacker could enumerate database names and extract stored records, potentially including user data and credentials.
- Triaged in 39 hours
- Fixed in 2 days
- Disclosed after 12 days
Summary by the program
SQL Injection vulnerability found on ibm.com endpoint was reported to IBM, analyzed and has been remediated. Thank you to our external researcher @cr3ckerxploit.
Summary by the researcher
A time-based blind SQL Injection vulnerability was discovered in a legacy CGI script (NEWaptresults.cgi) on an official IBM events subdomain. The learnpaths GET parameter did not properly sanitize user input, allowing an unauthenticated attacker to inject malicious SQL code.
Using both manual testing and automated tools, it was confirmed that the backend database would execute arbitrary queries. The injection was verified via time-based payloads (e.g., SLEEP(5)), which caused a measurable delay in the server's response, proving that user-supplied input was being evaluated as part of an SQL query.
Exploitation of this vulnerability could allow an attacker to enumerate database names, extract all stored records, and potentially access sensitive information such as user data, internal configurations, or authentication credentials. No authentication was required to trigger the vulnerability, making it accessible to anyone on the internet.
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
Root cause
Likely the legacy CGI script concatenated the learnpaths parameter directly into an SQL query without parameterisation or input validation.
Impact
An unauthenticated attacker could enumerate database names and extract stored records, potentially including user data, internal configurations, or authentication credentials.
What the attacker needed
No authentication required; network access to the events subdomain
The fix
The vulnerability was remediated by IBM after the report.
How it was found
- Send a request to the legacy CGI script with a time-based payload in the learnpaths parameter.
- Observe a measurable delay in the server response, confirming the input reaches the SQL query.
- Use the confirmed injection to enumerate database names and extract records.
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.
A web page took a value from the address bar and pasted it straight into a database command without cleaning it first. By sending a special value that makes the database wait, an attacker can confirm the injection and then ask the database questions one yes/no answer at a time. No login was needed, so anyone on the internet could try it.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.