[UNIX] CuteNews HTML Injection Vulnerability Via Commentaries
From: SecuriTeam (support_at_securiteam.com)
Date: 07/27/04
- Previous message: SecuriTeam: "[NT] Internet Explorer Method Cache Location Variant Trust Leads to Script Execution"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: list@securiteam.com Date: 27 Jul 2004 19:54:27 +0200
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
CuteNews HTML Injection Vulnerability Via Commentaries
------------------------------------------------------------------------
SUMMARY
" <http://cutephp.com/cutenews/> CuteNews is a powerful and easy for using
news management system that use flat files to store its database. It
supports comments, archives, search function, image uploading, backup
function, IP banning, flood protection and more..."
HTML code can be injected via the commentaries feature of CuteNews. The
implication of this is that an attacker that maliciously injects HTML code
for a victim to watch can get the code to execute by the victim, providing
various degrees of risk.
DETAILS
Vulnerable Systems:
* CuteNews version 1.3.x
The commentaries feature of CuteNews is susceptible to an HTML injection
that could endanger users of the system. In the "/inc/Shows.inc.php" file,
line 189:
if(!$found){ fwrite($new_comments,
"$id|>|$time|$name|$mail|$ip|$comments||\n"); }
The user-input variable $id is not filtered and therefore anything can be
passed through it. Since the commentaries are viewable by other users,
HTML inserted as input through the use of $id would cause HTML to be
rendered by the user's browser viewing the commentary. An example follows:
show_news.php?subaction=addcomment&name=DarkBich0&comments=http://www.darkbicho.tk&id=1078525267|>|1090074219|DarkBich0|none|127.0.0.1|<scr!pt>alert("DarkBicho");</scr!pt>||
The result of such an attack can be seen at
<http://www.darkbicho.iberhosting.net/cutenews/cutenews.gif>
http://www.darkbicho.iberhosting.net/cutenews/cutenews.gif.
An exploit is available at
<http://www.darkbicho.iberhosting.net/cutenews/>
http://www.darkbicho.iberhosting.net/cutenews/.
Vendor Status:
Vendors were contacted many weeks ago and plan to release a fixed version
soon. Check the CuteNews website for updates and official release details.
ADDITIONAL INFORMATION
The information has been provided by <mailto:darkbicho@fastmail.fm>
DarkBicho.
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Previous message: SecuriTeam: "[NT] Internet Explorer Method Cache Location Variant Trust Leads to Script Execution"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
- [NT] Cross Application Scripting in Trend Micros Antivirus Software
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... The SecuriTeam alerts
list - Free, Accurate, Independent. ... When the product alerts the user of a possible virus,
it creates an HTML ... (Securiteam) - [TOOL] kses, PHP Based HTML Filter
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... kses is an HTML/XHTML filter
written in PHP. ... It removes all unwanted HTML ... * Attribute values can be surrounded
with quotes, ... (Securiteam) - [TOOL] HTMLer - An Automated Broken HTML Generator (Mangleme Python Port)
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... It will create a plethora of broken
HTML pages in a subdirectory under the ... It allows the crafter of the HTML to control
EAX, ... def randstring: ... (Securiteam) - [UNIX] Kmail (table/frameset) DoS
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... "KMail is a fully-featured
email client that fits nicely into the K ... Kmail can be crashed due to incorrectly parsing
certain HTML elements. ... (Securiteam) - [EXPL] CuteNews Code Execution (Exploit)
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... execute arbitrary code in CuteNews.
... # the enemy's country whole and intact; to shatter and destroy it is not # ...
echo 'If CuteNews is unpatched and vulnerable, ... (Securiteam)