ubuntu-cve-2015-10141
Vulnerability from osv_ubuntu
Published
2025-07-23 14:15
Modified
2026-05-20 14:49
Summary
Details

An unauthenticated OS command injection vulnerability exists within Xdebug versions 2.5.5 and earlier, a PHP debugging extension developed by Derick Rethans. When remote debugging is enabled, Xdebug listens on port 9000 and accepts debugger protocol commands without authentication. An attacker can send a crafted eval command over this interface to execute arbitrary PHP code, which may invoke system-level functions such as system() or passthru(). This results in full compromise of the host under the privileges of the web server user.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "php-xdebug",
            "binary_version": "2.4.0-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "xdebug",
        "purl": "pkg:deb/ubuntu/xdebug@2.4.0-1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.3.3-1ubuntu1",
        "2.3.3-2",
        "2.3.3-3",
        "2.4.0~rc3-1",
        "2.4.0~rc4-1",
        "2.4.0~rc4-1ubuntu1",
        "2.4.0-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "php-xdebug",
            "binary_version": "2.6.0-0ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "xdebug",
        "purl": "pkg:deb/ubuntu/xdebug@2.6.0-0ubuntu1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.5.5-3",
        "2.6.0-0ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "php-xdebug",
            "binary_version": "2.9.2+2.8.1+2.5.5-1build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "xdebug",
        "purl": "pkg:deb/ubuntu/xdebug@2.9.2+2.8.1+2.5.5-1build1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.7.2+2.5.5-1build1",
        "2.9.2+2.8.1+2.5.5-1",
        "2.9.2+2.8.1+2.5.5-1build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "php-xdebug",
            "binary_version": "3.1.2+2.9.8+2.8.1+2.5.5-4"
          },
          {
            "binary_name": "php8.1-xdebug",
            "binary_version": "3.1.2+2.9.8+2.8.1+2.5.5-4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "xdebug",
        "purl": "pkg:deb/ubuntu/xdebug@3.1.2+2.9.8+2.8.1+2.5.5-4?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.0.3+2.9.8+2.8.1+2.5.5-0+deb11u1build1",
        "3.0.3+2.9.8+2.8.1+2.5.5-0+deb11u1build2",
        "3.1.1+2.9.8+2.8.1+2.5.5-3",
        "3.1.2+2.9.8+2.8.1+2.5.5-3",
        "3.1.2+2.9.8+2.8.1+2.5.5-4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "php-xdebug",
            "binary_version": "3.2.0+3.1.6+2.9.8+2.8.1+2.5.5-3ubuntu1"
          },
          {
            "binary_name": "php8.3-xdebug",
            "binary_version": "3.2.0+3.1.6+2.9.8+2.8.1+2.5.5-3ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "xdebug",
        "purl": "pkg:deb/ubuntu/xdebug@3.2.0+3.1.6+2.9.8+2.8.1+2.5.5-3ubuntu1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.2.0+3.1.6+2.9.8+2.8.1+2.5.5-3build1",
        "3.2.0+3.1.6+2.9.8+2.8.1+2.5.5-3ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "php-xdebug",
            "binary_version": "3.4.5-3"
          },
          {
            "binary_name": "php8.4-xdebug",
            "binary_version": "3.4.5-3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "xdebug",
        "purl": "pkg:deb/ubuntu/xdebug@3.4.5-3?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.4.2-1",
        "3.4.3-1",
        "3.4.5-1",
        "3.4.5-2",
        "3.4.5-3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "php-xdebug",
            "binary_version": "3.5.0-0ubuntu3"
          },
          {
            "binary_name": "php8.5-xdebug",
            "binary_version": "3.5.0-0ubuntu3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "xdebug",
        "purl": "pkg:deb/ubuntu/xdebug@3.5.0-0ubuntu3?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.4.5-3",
        "3.5.0-0ubuntu3"
      ]
    }
  ],
  "aliases": [],
  "details": "An unauthenticated OS command injection vulnerability exists within Xdebug versions 2.5.5 and earlier, a PHP debugging extension developed by Derick Rethans. When remote debugging is enabled, Xdebug listens on port 9000 and accepts debugger protocol commands without authentication. An attacker can send a crafted eval command over this interface to execute arbitrary PHP code, which may invoke system-level functions such as system() or passthru(). This results in full compromise of the host under the privileges of the web server user.",
  "id": "UBUNTU-CVE-2015-10141",
  "modified": "2026-05-20T14:49:07Z",
  "published": "2025-07-23T14:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2015-10141"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2015-10141"
    },
    {
      "type": "REPORT",
      "url": "http://web.archive.org/web/20231226215418/https://paper.seebug.org/397/"
    },
    {
      "type": "REPORT",
      "url": "https://kirtixs.com/blog/2015/11/13/xpwn-exploiting-xdebug-enabled-servers/"
    },
    {
      "type": "REPORT",
      "url": "https://www.exploit-db.com/exploits/44568"
    },
    {
      "type": "REPORT",
      "url": "https://www.fortiguard.com/encyclopedia/ips/46000"
    },
    {
      "type": "REPORT",
      "url": "https://www.vulncheck.com/advisories/xdebug-remote-debugger-unauth-os-command-execution"
    },
    {
      "type": "REPORT",
      "url": "https://xdebug.org/"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2015-10141"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…