Secunia Logo
Netsikker nu! 2008
 
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.
  
Latest Advisories

7th Oct, 2008
New advisories: 19
New vulnerabilities: 68
Updated advisories: 62

Moderately // 328 views
Debian update for php5
Moderately // 257 views
Atarone CMS Multiple Vulnerabilities
Moderately // 286 views
Debian update for squid
Less // 285 views
SUSE update for mercurial
Moderately // 332 views
SUSE update for openssh
Less // 266 views
Fedora update for mediawiki

Solutions | More...  


Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. phpBB "url" bbcode Script Insertion Vulnerability // 90 views
2. phpBB BBcode "url" Script Insertion Vulnerability // 66 views
3. Juniper Products Neighbor Discovery Protocol Neighbor Solicitation Vulnerability // 34 views
4. SUSE update for openssh // 29 views
5. Debian update for php5 // 27 views
6. MetaGauge Directory Traversal Vulnerability // 27 views
7. SUSE update for dovecot and graphicsmagic // 26 views
8. D-Bus "_dbus_validate_signature_with_reason()" Denial of Service // 26 views
9. H-Sphere webshell4 Cross-Site Scripting and Request Forgery // 26 views
10. Atarone CMS Multiple Vulnerabilities // 25 views