SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

PHPGraphy <= 0.9.11 "editwelcome" unauthorized access / cross site scripting -


Arrow  SecurityAlert : 733
Arrow  CVE : CVE-2006-1888
Arrow  SecurityRisk : Low  Security Risk Low  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Exploit Available : Yes
Arrow  Credit : rgod autistici org
Arrow  Published : 17.04.2006

Arrow  Affected Software : PHPGraphy <= 0.9.11



Arrow  Advisory Content :  

- PHPGraphy <= 0.9.11 "editwelcome" unauthorized access / cross site
scripting -

--------------------------------
software site: http://phpgraphy.sourceforge.net/
description: "Full featured photo gallery PHP script - Light, fast and easy
to
install"

vulnerable code index.php near line 503-10:

...
if ($updwelcome && isset($welcomedata) && check_welcome($dir)) {
if (strlen($welcomedata) < 10000) {

write_welcome($dir,$welcomedata);
echo "<html><script
language="javascript">window.opener.location="?dir=".rawurlencode($di
r)."";window.close();</script></html>";
} else echo "Sorry more data (10k) than allowed, protection aborting the
operation<br />";
exit;
}
...

poc, a remote user can go to this url:

http://[target]/[path]/index.php?dir=&editwelcome=1&popup=0

to have unauthorized access to some edit functionalities and to insert
html/
/javascript code or simply deface the main page

temporary patch -> replace this line:

...
if ($updwelcome && isset($welcomedata) && check_welcome($dir)) {
...

with:

...
if ($admin && $updwelcome && isset($welcomedata) && check_welcome($dir)) {
...

------------------------------------------------------------------------
--------
rgod

site: http://retrogod.altervista.org
mail: rgod at autistici.org
original advisory: http://retrogod.altervista.org/phpgraphy_0911_adv.html
------------------------------------------------------------------------
--------





Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

libc/fnmatch(3) DoS

Security Risk Medium- 2011-05-13

Allow attacker to denial of service apache 2.2.17 server

Apache RSS Apache Alert

» Apache HTTP Server Denial
   of Service Vulnerability

» Multiple Vendors
   libc/fnmatch(3) DoS (incl
   apache poc)

» Apache Continuum
   cross-site scripting
   vulnerability

» Apache Tomcat DoS
   Vulnerability

PHP RSS PHP Alert

» PHP Hashtables Denial of
   Service

» PHP 5.3.6 multiple null
   pointer dereference

» PHP 5.3.6 ZipArchive
   invalid use glob(3)

» libzip 0.9.3
   _zip_name_locate NULL
   Pointer Dereference (incl
   PHP 5.3.5)

ADT

Protect your family and valuables with Home Security Systems

Copyright © SecurityReason.com. All Rights Reserved.