Epignosis eFront LMS unauthenticated SQL injection vulnerability
An unauthenticated SQL injection vulnerability exists in the login page of eFront LMS versions up to v5.2.12, allowing an attacker to inject SQL commands via a cookie parameter. This could lead to data compromise.
Originally disclosed on Cisco Talos
An exploitable SQL injection vulnerability exists in the unauthenticated portion of eFront LMS, versions v5.2.12 and earlier. Specially crafted web request to login page can cause SQL injections, resulting in data compromise.
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 user input in the PHPSessionID cookie before using it in an SQL query.
Impact
An attacker could compromise data, but the CVSS score indicates only low confidentiality and integrity impact.
What the attacker needed
No authentication required; Network access to the login page
The fix
The vendor patched the issue and released a new version.
How it was found
- Send a crafted HTTP request to the login page with a malicious PHPSessionID cookie value.
- The injected SQL command is executed by the database, as demonstrated by a time-delay payload.
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 tricks a website's database into running unintended commands by inserting special characters into input fields. Here, the attacker can send a malicious cookie value to the login page, and the website's database will execute the injected SQL, potentially exposing or altering data. No login is needed, so anyone can try it.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.