|
Ultimate PHP Board Cross-Site Scripting and User Credentials Exposure
|
|
Secunia Advisory:
|
SA15732
|
|
|
Release Date:
|
2005-06-17
|
|
Last Update:
|
2006-06-28
|
|
Popularity:
|
6,944 views
|
|
|
Critical:
|
 Moderately critical
|
|
Impact:
|
Cross Site Scripting Exposure of sensitive information
|
|
Where:
|
From remote
|
|
Solution Status:
|
Partial Fix
|
|
| Software: | Ultimate PHP Board (UPB) 1.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2005-2003 CVE-2005-2004 CVE-2005-2005
|
|
Description: Alberto Trivero has reported some vulnerabilities and a security issue in Ultimate PHP Board, which can be exploited by malicious people to conduct cross-site scripting attacks and disclose sensitive information.
1) Some input isn't properly sanitised before being returned to users. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of a vulnerable site.
Examples:
http://[host]/login.php?ref=[code]
http://[host]/viewtopic.php?id=[code]
http://[host]/viewtopic.php?id=1&t_id=1&page=[code]
http://[host]/profile.php?action=get&id=[code]
http://[host]/newpost.php?id=1&t=1&t_id=[code]
http://[host]/newpost.php?id=[code]
http://[host]/email.php?id=[code]
http://[host]/icq.php?action=get&id=[code]
http://[host]/upb/aol.php?action=get&id=[code]
http://[host]/upb/getpass.php?ref=[code]
http://[host]/search.php?step=3&sText=[code]
2) User credentials are stored in the "db" database directory inside the web root, which may allow disclosure of the usernames and encrypted passwords.
NOTE: This does not affect installations with enabled support for ".htaccess" files. The encrypted passwords can easily be decrypted due to a weak encryption method.
It is also possible to disclose the full path to certain scripts by accessing them with some invalid input.
The vulnerabilities and the security issue have been reported in version 1.9.6 GOLD and prior.
Solution: A patch is available for the cross-site scripting vulnerabilities:
http://www.myupb.com/forum/viewtopic.php?id=26&t_id=118
Ensure that access is restricted to the "db" directory.
Provided and/or discovered by: Alberto Trivero
Additional information provided by mbrooks.
Changelog: 2005-06-21: Updated "Solution" section.
2005-06-24: Added CVE references.
2006-06-21: Added additional information provided by mbrooks.
2006-06-28: Added link to "Original Advisory".
Original Advisory: http://www.kliconsulting.com/users/mbrooks/UPBadvisory.rtf
|
|
|
Track this Secunia Advisory
|
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.
Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.
|
|
|
About this Secunia Advisory
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|