← 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.3% 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-2008-3653Tikiwiki cms\/groupware vulnerabilityMultiple unspecified vulnerabilities in TikiWiki CMS/Groupware before 2.0 have unknown impact and attack vectors.EPSS 1.6%10.0CVE-2007-6529Tikiwiki cms\/groupware vulnerabilityMultiple unspecified vulnerabilities in TikiWiki before 1.9.9 have unknown impact and attack vectors involving (1) tiki-edit_css.php, (2) tiki-list_g…EPSS 1.9%10.0CVE-2000-0844Caldera openlinux ebuilder permissions and access controls vulnerabilitySome functions that implement the locale subsystem on Unix do not properly cleanse user-injected format strings, which allows local attackers to exec…EPSS 16%10.0CVE-2000-0666Conectiva linux vulnerabilityrpc.statd in the nfs-utils package in various Linux distributions does not properly cleanse untrusted format strings, which allows remote attackers t…EPSS 26%10.0CVE-2000-0584Debian linux vulnerabilityBuffer overflow in Canna input system allows remote attackers to execute arbitrary commands via an SR_INIT command with a long user name or group nam…EPSS 5.9%10.0CVE-2000-1221Sgi irix vulnerabilityThe line printer daemon (lpd) in the lpr package in multiple Linux operating systems authenticates by comparing the reverse-resolved hostname of the …EPSS 17%10.0CVE-1999-0832Debian linux vulnerabilityBuffer overflow in NFS server on Linux allows attackers to execute commands via a long pathname.EPSS 3.5%10.0CVE-1999-0730Debian linux vulnerabilityThe zsoelim program in the Debian man-db package allows local users to overwrite files via a symlink attack.EPSS 4.5%

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