|
phpWebSite Cross-Site Scripting and Script Insertion Vulnerabilities
|
|
Secunia Advisory:
|
SA12438
|
|
|
Release Date:
|
2004-09-03
|
|
Last Update:
|
2005-02-22
|
|
Popularity:
|
6,974 views
|
|
|
Critical:
|
 Moderately critical
|
|
Impact:
|
Cross Site Scripting Manipulation of data
|
|
Where:
|
From remote
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | phpWebSite 0.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2004-1654 CVE-2004-1655
|
|
Description: James Bercegay has reported some vulnerabilities in phpWebSite, allowing malicious people to conduct cross-site scripting and script insertion attacks.
1) Input passed to the "pid" parameter in "index.php" is not sanitised before being returned to authenticated users. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of a vulnerable site by tricking a user into visiting a malicious website or follow a specially crafted link.
Example:
http://[host]/index.php?module=comments&CM_op=replyToComment&CM_pid=1[code]
2) The calendar module does not sanitise input passed in the "cal_template" field before being used in a SQL query. This can be exploited to inject arbitrary SQL code when a malicious event is approved by the administrator.
3) Input passed to the subject and message fields are not sanitised before being included in a stored note. This can be exploited to execute arbitrary script code in a user's browser session in context of an affected site when the note module is accessed.
The vulnerabilities reportedly affect version 0.9.3-4 and prior.
Solution: Apply patch:
http://www.phpwebsite.appstate.edu/downloads/security/
Provided and/or discovered by: James Bercegay, GulfTech Security Research Team.
Changelog: 2005-02-22: Added CVE references.
Original Advisory: http://www.gulftech.org/?node=research&article_id=00048-08312004
|
|
|
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.
|