Lucene search
K

PHP Melody CMS 2.3 SQL Injection

🗓️ 27 Dec 2015 00:00:00Reported by V For VendettaType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 36 Views

PHP Melody CMS 2.3 SQL injection, vendor, version, vulnerable file, vulnerable code, vulnerable parameter, PoC, discovered by

Code
`================================================================================  
# PHP Melody CMS v2.3 SQL injection  
================================================================================  
# Vendor Homepage: https://www.phpsugar.com  
# Date: 26/12/2015  
# Script Link: https://www.phpsugar.com/blog/2015/04/get-php-melody-v2-3/  
# Version : 2.3  
# Author: Ashiyane Digital Security Team  
================================================================================  
#Description :  
PHP Melody was created by Andrew Rae back in the autumn of 2007 as a  
simple music videos gallery. During its 8 years of existence, PHP  
Melody has evolved from this minimalist video gallery into an extended  
Video CMS. At the present time, PHP Melody is developed entirely by  
Paul, while Andrew manages the project and provides customer support.  
  
# Vulnerable File : videos.php  
  
# Vulnerable Code:  
  
56: mysql_query $result = mysql_query($sql);  
50: $sql = "SELECT pm_videos.*, pm_videos_urls.mp4,  
pm_videos_urls.direct FROM pm_videos LEFT JOIN pm_videos_urls  
ON (pm_videos.uniq_id = pm_videos_urls.uniq_id) WHERE  
pm_videos.uniq_id = '" . $video_id . "'";  
48: $video_id = secure_sql($_GET['vid']);  
  
#Vuln Parameter: vid  
  
# PoC :  
http://localhost/videos.php?vid=1'  
  
================================================================================  
# Discovered By : V For Vendetta  
================================================================================  
`

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