CVE-2022-26959 Northstar Club Management software version 6.3 - Full, Blind/Time-based SQL Injection
Two blind SQL injection vulnerabilities exist in the userName parameter of processlogin.jsp and the userID parameter of login.jsp, allowing an unauthenticated attacker to fully read and write the database. This could expose sensitive data such as ACH and credit card information.
machevalia.blog
Published on machevalia.blog
Vulnerability Disclosure
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
Root cause
Likely, user-supplied input in the userName and userID parameters is concatenated directly into SQL queries without parameterisation or sanitisation.
Impact
Exploitation allows full read/write access to the database, which could expose ACH information, user profiles, and credit card data; the vendor has not addressed the processlogin.jsp issue, so a WAF is recommended as a mitigation.
What the attacker needed
Network access to the application; no authentication required
The fix
The vendor removed the vulnerable iphone login page from some instances but has not fixed the Portal page; clients should insist on a proper fix and deploy a WAF that blocks SQL injection.
How it was found
- Navigate to the /northstar/Portal page.
- Fill in the username and password fields with arbitrary data and submit the form.
- In Burp Suite, find the POST request to /northstar/Portal/processlogin.jsp and send it to Repeater.
- Send the request as is to obtain the normal server response time.
- Append a time-delay payload to the userName parameter and send the request again.
- Observe that the server response time was delayed by 5 seconds, confirming the injection.
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.
SQL injection is when user input is inserted into a database command without proper handling, letting an attacker change the command. Here, the login form's username field is vulnerable, so an attacker can make the database wait to confirm the injection works, then extract or modify data.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.