Sharetronix <= 3.1.1 (signup.php) Two SQL Injection Vulnerabilities
The signup script passes the fb_user_id and tw_user_id parameters into a SQL query without proper sanitisation. An attacker could exploit this to conduct SQL injection and privilege escalation attacks.
karmainsecurity.com
Published on karmainsecurity.com
Input passed via the “fbuserid” and “twuserid” parameters to /signup is not properly sanitised before being used in a SQL query in the /system/controllers/signup.php script. This can be exploited to conduct SQL injection and privilege escalation attacks.
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
The signup controller builds a SQL query from the fb_user_id and tw_user_id request parameters without sanitising them.
Impact
An attacker could conduct SQL injection and privilege escalation attacks; no defence is mentioned.
What the attacker needed
Access to the /signup endpoint
The fix
No official solution was available at the time; the parameters should be sanitised or parameterised queries used.
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 being cleaned, so an attacker can change the command. Here, two values sent to the signup page are used directly in a database query, letting an attacker alter that query. The report says this could be used to escalate privileges, meaning gain higher access than intended.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.