Forma LMS 2.2.1 /appCore/index.php users parameter SQL injections
Forma LMS 2.2.1 contains SQL injection vulnerabilities in the authenticated user management CSV export endpoint, specifically in the 'users' parameter. An authenticated attacker could exploit this to exfiltrate database contents such as usernames and password hashes, and potentially access the underlying operating system.
Originally disclosed on Cisco Talos
Exploitable SQL injection vulnerabilities exist in the authenticated portion of Forma LMS 2.2.1. Specially crafted web requests can cause SQL injections.
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application fails to properly sanitise or parameterise the 'users' parameter before using it in an SQL query.
Impact
An attacker could access usernames and password hashes stored in the database and, in certain configurations, gain access to the underlying operating system.
What the attacker needed
Authenticated user account
The fix
The vendor patched the vulnerability.
How it was found
- Log in to Forma LMS to obtain a valid session.
- Send a POST request to the CSV export endpoint with a crafted 'users' parameter containing SQL 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 report has not been written yet. The Original tab links to the source.
SQL injection is when an attacker inserts database commands into a web form or URL parameter, tricking the application into running those commands. Here, a logged-in user can send a specially crafted request to a CSV export feature, and the application passes the 'users' value directly to the database without proper cleaning. This lets the attacker read data they should not see, like other users' login details.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.