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:fts_*() Multiple Denial of Service

Security Risk Medium- 2009-10-02

The fts functions are provided for traversing UNIX file hierarchies...

Apache RSS Apache Alert

» Apache 1.3.41 mod_proxy
   Integer overflow (code
   execution)

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion in work
   directory

» Apache Tomcat 6.0.20 and
   5.5.28 insecure partial
   deploy after failed
   undeploy

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion and/or
   alteration

PHP RSS PHP Alert

» PHP 5.2.12/5.3.1 Multiple
   Vulnerabilities

» PHP 5.2.11 libgd multiple
   vulnerabilities

» PHP 5.2.11 tempnam()
   safe_mode bypass

» PHP 5.3.0 5.2.11
   posix_mkfifo()
   open_basedir bypass

Copyright © SecurityReason.com. All Rights Reserved.