vendor:
phpMyRecipes
by:
Manish Kishan Tanwar
7,5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: phpMyRecipes
Affected Version From: 1.2.2
Affected Version To: 1.2.2
Patch Exists: NO
Related CWE: N/A
CPE: a:phpmyrecipes:phpmyrecipes:1.2.2
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2014
phpMyRecipes 1.2.2 SQL injection(page browse.php, parameter category)
phpMyRecipes is a simple application for storing and retrieving recipes. It uses a web-based interface, for ease of use across any system, and a MySQL database backend for storing the recipes. The vulnerability is due to parameter category in browse.php, which is passed to function GetCategoryNameByID without data filtering and due to it, SQL injection vulnerability is arising. The proof of concept is to set the value of the category parameter to 1 and add an error-based SQL injection payload to the URL.
Mitigation:
Input validation should be used to prevent SQL injection attacks.