SecurityContext

CVE-2006-1087: PHP-Stats - Code Injection

  • Cve: CVE-2006-1087
  • Name: PHP-Stats - Code Injection
  • Description: Direct static code injection vulnerability in the modify_config action in admin.php for PHP-Stats 0.1.9.1 and earlier allows remote authenticated administrators to execute arbitrary PHP code via the option_new[compatibility_mode] parameter, which is not filtered before being stored in config.php. NOTE: this vulnerability can be exploited by remote unauthenticated attackers in conjunction with the option[admin_pass] authentication bypass vulnerability.
  • Impact: Attackers can execute arbitrary PHP code on the server, potentially leading to full system compromise.
  • Remediation: Update to the latest version of PHP-Stats or apply security patches to filter input parameters.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: admin_privileges
  • Requirements: Attacker needs administrator privileges or combined with authentication bypass
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:2.0/AV:N/AC:L/Au:S/C:P/I:P/A:P
  • Epss score: 0.01778
  • Epss percentile: 0.78809
  • Assignee: [email protected]
  • Published at: 2006-03-09T00:02:00Z
  • Age in days: 7565
  • Modified at: 2026-06-16T22:21:59Z
  • Public exploits total: 1
  • References total: 8
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2006-1087
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
NVD-CWE-Other—

Public exploits

UrlSourceAdded date
http://retrogod.altervista.org/php_stats_0191_adv.htmlnvd2006-03-09

References

Same in every row:

  • Source: nvd
UrlTags
http://secunia.com/advisories/19116Vendor Advisory
http://retrogod.altervista.org/php_stats_0191_adv.htmlExploit
http://www.phpstats.net/forum/viewtopic.php?t=140
http://www.securityfocus.com/archive/1/426762/100/0/threaded
http://www.securityfocus.com/archive/1/428614/100/0/threaded
http://www.securityfocus.com/archive/1/429145/100/0/threaded
http://www.securityfocus.com/bid/16963
http://www.vupen.com/english/advisories/2006/0822

Products

ProductAffectedPlatform boundSourcesUrl
php-stats:php-stats<= 0.1.9.1nonvd/v1/products/php-stats/php-stats

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2006-03-09
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts