Invision Community <= 4.7.15 (store.php) SQL Injection Vulnerability
The store.php script in Invision Community passes user-supplied filter parameters into a database query without proper sanitisation, allowing an attacker to inject SQL. An attacker could potentially read or modify database contents.
karmainsecurity.com
Published on karmainsecurity.com
The vulnerability is located in the /applications/nexus/modules/front/store/store.php script.
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 the filter array keys and values are concatenated into a SQL findInSet expression without parameterisation or validation.
What the attacker needed
Access to the store page
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 builds a database command using text from a user without cleaning it first. Here, the store page takes a 'filter' value from the web address and puts it straight into a database query, so a malicious value could change what the database does.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.