← Vulnerability feed

Vulnerability record · CVE-2005-1921 · published 5 July 2005

CVE-2005-1921: PEAR XML_RPC eval injection allows remote PHP code execution

Php · Xml Rpc

PEAR XML_RPC 1.3.0 and earlier, and PHPXMLRPC 1.1 and earlier, pass unsanitized XML input into an eval statement, creating an eval injection flaw. Because these libraries are bundled into many PHP applications such as WordPress, Drupal, Serendipity, TikiWiki and others, the exposure is broad across the PHP ecosystem. Successful exploitation lets a remote attacker run arbitrary PHP code in the context of the affected application.

7.5 CVSS 2.0 High EPSS 79% · top 0.4% CWE-94 · Code injection
7.5CVSS 2.0 base score
79%EPSS exploitation probability, 30 days
NoNot in CISA KEV
5Affected product versions listed by NVD
100References
16 Jun 2026Last modified by NVD

Description

Eval injection vulnerability in PEAR XML_RPC 1.3.0 and earlier (aka XML-RPC or xmlrpc) and PHPXMLRPC (aka XML-RPC For PHP or php-xmlrpc) 1.1 and earlier, as used in products such as (1) WordPress, (2) Serendipity, (3) Drupal, (4) egroupware, (5) MailWatch, (6) TikiWiki, (7) phpWebSite, (8) Ampache, and others, allows remote attackers to execute arbitrary PHP code via an XML file, which is not properly sanitized before being used in an eval statement.

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.

high priorityRemote unauthenticated code execution with a very high EPSS score and wide deployment through bundled PHP applications, though no KEV listing or confirmed in-the-wild exploitation is recorded.

What it is

PEAR XML_RPC 1.3.0 and earlier, and PHPXMLRPC 1.1 and earlier, pass unsanitized XML input into an eval statement, creating an eval injection flaw. Because these libraries are bundled into many PHP applications such as WordPress, Drupal, Serendipity, TikiWiki and others, the exposure is broad across the PHP ecosystem. Successful exploitation lets a remote attacker run arbitrary PHP code in the context of the affected application.

Impact

An unauthenticated remote attacker can execute arbitrary PHP code on the server, leading to full compromise of the application and potentially the underlying host. This can expose data, allow web shell placement, and enable lateral movement.

Attack surface

Reachable over the network through XML-RPC endpoints that accept XML input, as reflected by the AV:N/AC:L/Au:N vector. No authentication or user interaction is required per the CVSS vector and description.

Exploitation

Not listed in CISA KEV and no ransomware associations are recorded, but EPSS is very high at 0.79 (99.6th percentile), indicating strong likelihood of exploitation activity. Reference tags include a patch link and third-party advisories, with no explicit public exploit tag in the record.

What to do

  • Upgrade PEAR XML_RPC to 1.3.1 or later and PHPXMLRPC to a fixed release; apply the vendor patch referenced in the record.
  • Update all bundled applications (WordPress, Drupal, Serendipity, TikiWiki, egroupware, MailWatch, phpWebSite, Ampache) to versions that ship the patched library.
  • If immediate patching is not possible, disable or restrict access to XML-RPC endpoints at the network or web server layer.
  • Audit for and remove any unused XML-RPC functionality to reduce the attack surface.

Detection

  • Monitor web and application logs for XML-RPC requests containing PHP code patterns or unusual eval-like payloads.
  • Search for unexpected PHP files or modifications in web-accessible directories that could indicate web shell placement.
  • Alert on outbound connections or process execution spawned by the web server user that are not part of normal application behavior.

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

Affected products

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

References

LinkTags
http://marc.info/?l=bugtraq&m=112008638320145&w=2 Third Party Advisory
http://marc.info/?l=bugtraq&m=112015336720867&w=2 Third Party Advisory
http://marc.info/?l=bugtraq&m=112605112027335&w=2 Third Party Advisory
http://pear.php.net/package/XML_RPC/download/1.3.1 PatchProduct
http://secunia.com/advisories/15810 Broken Link
http://secunia.com/advisories/15852 Broken Link
http://secunia.com/advisories/15855 Broken Link
http://secunia.com/advisories/15861 Broken Link
http://secunia.com/advisories/15872 Broken Link
http://secunia.com/advisories/15883 Broken Link
http://secunia.com/advisories/15884 Broken Link
http://secunia.com/advisories/15895 Broken Link
http://secunia.com/advisories/15903 Broken Link
http://secunia.com/advisories/15904 Broken Link
http://secunia.com/advisories/15916 Broken Link
http://secunia.com/advisories/15917 Broken Link
http://secunia.com/advisories/15922 Broken Link
http://secunia.com/advisories/15944 Broken Link
http://secunia.com/advisories/15947 Broken Link
http://secunia.com/advisories/15957 Broken Link
http://secunia.com/advisories/16001 Broken Link
http://secunia.com/advisories/16339 Broken Link
http://secunia.com/advisories/16693 Broken Link
http://secunia.com/advisories/17440 Broken Link
http://secunia.com/advisories/17674 Broken Link
http://secunia.com/advisories/18003 Broken Link
http://security.gentoo.org/glsa/glsa-200507-01.xml Third Party Advisory
http://security.gentoo.org/glsa/glsa-200507-06.xml Third Party Advisory
http://security.gentoo.org/glsa/glsa-200507-07.xml Third Party Advisory
http://securitytracker.com/id?1015336 Broken LinkThird Party AdvisoryVDB Entry
http://sourceforge.net/project/showfiles.php?group_id=87163 Product
http://sourceforge.net/project/shownotes.php?release_id=338803 Broken Link
http://www.ampache.org/announce/3_3_1_2.php Broken Link
http://www.debian.org/security/2005/dsa-745 Mailing ListThird Party Advisory
http://www.debian.org/security/2005/dsa-746 Mailing ListThird Party Advisory
http://www.debian.org/security/2005/dsa-747 Mailing ListThird Party Advisory
http://www.debian.org/security/2005/dsa-789 Mailing ListThird Party Advisory
http://www.drupal.org/security/drupal-sa-2005-003/advisory.txt Third Party Advisory
http://www.gulftech.org/?node=research&article_id=00087-07012005 Not ApplicableVendor Advisory
http://www.hardened-php.net/advisory-022005.php Not Applicable

Track CVE-2005-1921 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.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-9082Drupal core SQL injection in unauthenticated request pathDrupal core contains a SQL injection flaw (CWE-89) caused by improper neutralization of special elements in SQL commands. It affects multiple core br…KEVEPSS 16%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed

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