The OpenNET Project
 
Search (keywords):  SOFT ARTICLES TIPS & TRICKS SECURITY
LINKS NEWS MAN DOCUMENTATION


PacerCMS Multiple Vulnerabilities (XSS/SQL)


<< Previous INDEX Search src / Print Next >>
Date: Tue, 22 Jan 2008 05:14:06 -0700 (MST)
Subject: PacerCMS Multiple Vulnerabilities (XSS/SQL)
From: [email protected]
To: [email protected]
User-Agent: SquirrelMail/1.4.9a
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
X-Identified-User: {2534:box370.bluehost.com:rawsecur:rawsecurity.org} {sentby:program running on server}
X-Virus-Scanned: antivirus-gw at tyumen.ru

PacerCMS Multiple Vulnerabilities (XSS/SQL).
--------------------------------------------------------

Product: PacerCMS
Version: 0.6
Vendor:  http://pacercms.sourceforge.net/
Date:    01/22/08

- Introduction


PacerCMS is a content management solution for student and non-daily
community newspapers.

- Details


PacerCMS is susceptible to both persistent cross-site scripting and
SQL injection attacks.  An attacker could use the public
'Write a Letter'(submit.php) form to send a message to the System
Administrator or staff member containing Javascript.  The name,
headline, or text POST variables are not sufficiently sanitized.

The system administrator of the CMS sees a list of submitted
messages on siteadmin/index.php right after logging in.  If an
attacker sends a message containing Javascript in the name or
headline then the code will be run as soon as the admin logs in.
This could lead to a staff member's session being hijacked.

Multiple siteadmin pages are vulnerable to SQL injection. Access to
these pages are restricted to staff members.

  - siteadmin/article-edit.php
  - siteadmin/submitted-edit.php
  - siteadmin/page-edit.php
  - siteadmin/section-edit.php
  - siteadmin/staff-edit.php
  - siteadmin/staff-access.php


Example vulnerable code (article-edit.php)
$id = $_GET["id"];
...
$query = "SELECT * FROM cm_articles ";
$query .= " WHERE id = $id";

- Proof of Concept


http://[site]/pacercms/siteadmin/article-edit.php?id=[SQL]

- Solution


Authors were notified of security issues and responded quickly.
Upgrade to the latest build (0.6.1).

Author: dB
Email: dB [at] rawsecurity ! org





<< Previous INDEX Search src / Print Next >>



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру