Skip to content
SQL injection Write-up Beginner

openSIS <= 7.4 Multiple SQL Injection Vulnerabilities

The openSIS application fails to sanitise user input in the api_key and api_secret parameters of several API endpoints, allowing unauthenticated attackers to inject SQL commands. This could let them read sensitive data from the database via error-based SQL injection.

karmainsecurity.com

Published on karmainsecurity.com

The application is affected by multiple SQL Injection vulnerabilities, following are some examples:

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

Unauthenticated attackers could read sensitive data from the database through error-based SQL injection attacks.

What the attacker needed

No authentication required; access to the API endpoints

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 a program puts user input directly into a database command without cleaning it first. Here, the openSIS software takes values from the web request (api_key and api_secret) and uses them in a database query, so an attacker can send special characters that change the query. This could let someone who is not logged in read private information from the database.

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.