← Vulnerability feed

Vulnerability record · CVE-2015-7857 · published 29 October 2015

CVE-2015-7857: Joomla com_contenthistory SQL injection in getListQuery

Joomla · Joomla\!

Joomla! 3.2 before 3.4.5 contains a SQL injection in the getListQuery function of administrator/components/com_contenthistory/models/history.php. The list[select] parameter passed to index.php is not properly sanitized, letting remote attackers inject arbitrary SQL. Because the vulnerable code sits in an administrator component, successful exploitation can lead to full administrative access.

7.5 CVSS 2.0 High EPSS 94% · top 0.1% CWE-89 · SQL injection
7.5CVSS 2.0 base score
94%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
16References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

SQL injection vulnerability in the getListQuery function in administrator/components/com_contenthistory/models/history.php in Joomla! 3.2 before 3.4.5 allows remote attackers to execute arbitrary SQL commands via the list[select] parameter to index.php.

AV:N/AC:L/Au:N/C:P/I:P/A:P

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

critical priorityUnauthenticated remote SQL injection with public exploit code, a Metasploit module and a documented path to full administrative access and RCE.

What it is

Joomla! 3.2 before 3.4.5 contains a SQL injection in the getListQuery function of administrator/components/com_contenthistory/models/history.php. The list[select] parameter passed to index.php is not properly sanitized, letting remote attackers inject arbitrary SQL. Because the vulnerable code sits in an administrator component, successful exploitation can lead to full administrative access.

Impact

An attacker can execute arbitrary SQL commands against the Joomla database, enabling data theft, credential extraction and, per public exploit write-ups, escalation to remote code execution and full administrative control of the site.

Attack surface

Reached remotely over HTTP through index.php with a crafted list[select] parameter; the CVSS vector AV:N/AC:L/Au:N indicates no authentication and no user interaction are required.

Exploitation

Not listed in CISA KEV, but EPSS is very high (0.94472, 99.8th percentile) and multiple public references, including Exploit-DB 38797, a Rapid7 Metasploit module and a Trustwave exploit write-up, describe working exploits.

What to do

  • Upgrade Joomla! to 3.4.5 or later immediately; this is the only complete fix.
  • If immediate upgrade is impossible, restrict access to /administrator via IP allowlisting or a WAF rule blocking the list[select] parameter.
  • Apply virtual patching at the WAF for SQL injection patterns targeting com_contenthistory and index.php.
  • Rotate Joomla administrator and database credentials after any suspected exposure.
  • Audit the site for webshells and unauthorized admin accounts, since public exploits chain this SQLi to RCE.

Detection

  • Search web server logs for requests to index.php containing list[select] or com_contenthistory parameters.
  • Monitor database logs for anomalous SELECT/UNION or stacked queries originating from the web application account.
  • Alert on new or modified files under Joomla web directories and on unexpected administrator account creation.
  • Review outbound traffic from the Joomla host for signs of post-exploitation tooling or data exfiltration.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2015-7857 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2016-10033PHPMailer isMail mailSend argument injection enables remote code executionPHPMailer before 5.2.18 fails to properly sanitize the Sender property in the mailSend function of the isMail transport, allowing a crafted backslash…KEVEPSS 100%analysed5.3CVE-2023-23752Joomla! webservice endpoints improper access checkJoomla! 4.0.0 through 4.2.7 contains an improper access check that allows unauthenticated access to webservice endpoints. Because the endpoints can e…KEVEPSS 100%analysed9.8CVE-2026-48902Joomla\! cleartext transmission vulnerabilityThe password and username reset features created plain http links for https connections if the "Force SSL" flag wasn't explicitly set.EPSS 0.33%9.8CVE-2025-25226Joomla\! sql injection vulnerabilityImproper handling of identifiers lead to a SQL injection vulnerability in the quoteNameStr method of the database package. Please note: the affected …EPSS 0.47%9.8CVE-2022-23795Joomla\! improper authentication vulnerabilityAn issue was discovered in Joomla! 2.5.0 through 3.10.6 & 4.0.0 through 4.1.0. A user row was not bound to a specific authentication mechanism which …EPSS 1.1%9.8CVE-2022-23797Joomla\! sql injection vulnerabilityAn issue was discovered in Joomla! 3.0.0 through 3.10.6 & 4.0.0 through 4.1.0. Inadequate filtering on the selected Ids on an request could resulted …EPSS 1.1%9.8CVE-2022-23799Joomla\! vulnerabilityAn issue was discovered in Joomla! 4.0.0 through 4.1.0. Under specific circumstances, JInput pollutes method-specific input bags with $_REQUEST data.EPSS 1.2%9.8CVE-2010-1433Joomla\! unrestricted file upload vulnerabilityJoomla! Core is prone to a vulnerability that lets attackers upload arbitrary files because the application fails to properly verify user-supplied in…EPSS 1.1%

Source: NIST National Vulnerability Database (record CVE-2015-7857), CISA KEV, FIRST EPSS (scores of 2026-09-25). This page is refreshed as NVD updates the record.