VYPR
Unrated severityNVD Advisory· Published Aug 12, 2014· Updated May 6, 2026

CVE-2011-2944

CVE-2011-2944

Description

SQL injection vulnerability in login.php in MegaLab The Uploader before 2.0.5 allows remote attackers to execute arbitrary SQL commands via the username parameter.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

2

Patches

Vulnerability mechanics

Root cause

"Missing input sanitization in the username parameter of login.php allows SQL injection."

Attack vector

An unauthenticated remote attacker sends a POST request to `login.php` with a crafted `username` parameter containing SQL injection syntax, such as `' OR activated=1-- a` [ref_id=1]. The application fails to neutralize special SQL characters in the input, allowing the attacker to bypass authentication and log in as the first valid admin user [CWE-89]. The attacker then receives a session cookie, which can be used to access administrative functions including file upload, extension whitelisting, and CAPTCHA disabling [ref_id=1].

Affected code

The vulnerability exists in `login.php` of MegaLab The Uploader versions before 2.0.5. The `username` parameter is passed directly into an SQL query without sanitization, as demonstrated by the Metasploit module's injection string `' OR activated=1-- a` [ref_id=1].

What the fix does

The advisory does not include a patch diff, but the fix is described as upgrading to version 2.0.5 [ref_id=1]. The remediation would involve properly escaping or parameterizing the `username` input in the SQL query within `login.php` to prevent injection of arbitrary SQL commands [CWE-89]. No patch code is available in the provided bundle.

Preconditions

  • configThe target must be running The Uploader version 2.0.4 or earlier
  • authNo authentication required; the attacker sends a single HTTP POST request to login.php
  • networkAttacker must have network access to the web server hosting the application
  • inputThe username parameter is accepted without sanitization

Reproduction

1. Send a POST request to `login.php` with body: `username=' OR activated=1-- a&password=a&login=Log-IN` [ref_id=1]. 2. If the response contains "Log-In has been done successfully" (English) or "stato effettuato con successo" (Italian), the SQL injection succeeded [ref_id=1]. 3. Extract the `Set-Cookie` header from the response to obtain an authenticated admin session [ref_id=1].

Generated on May 25, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

7

News mentions

0

No linked articles in our index yet.