[UNIX] Multiple Vulnerabilities in Psychoblogger CMS Package
From: SecuriTeam (support_at_securiteam.com)
Date: 12/28/03
- Previous message: SecuriTeam: "[UNIX] Command Injection Issue in Squirrelmail's G/PGP Encryption Plugin"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: list@securiteam.com Date: 28 Dec 2003 18:32:03 +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
- - - - - - - - -
Multiple Vulnerabilities in Psychoblogger CMS Package
------------------------------------------------------------------------
SUMMARY
<http://www.psychoblogger.com> Psychoblogger is "a CMS package aimed at
providing weblogs (or 'blogs') with an easy to set up system for editing
and authoring the content". The standard package has many inherit
vulnerabilities that may allow the compromise of a web server or website
using the distributed code.
DETAILS
Vulnerable systems:
* Psychoblogger version beta1
Cross Site Scripting:
There is a Cross-Site-Scripting vulnerability in the script
'imageview.php', which allows for insertion of scripting on the
client-side. This can be exploited by setting the 'desc' get variable.
This variable is printed without any checking, in between the <title>
tags. Because scripting cannot be inserted directly into the title, one
must first break out of the <title> tag.
This can be exploited like so:
Impact:
SQL Injection:
Impact:
Another SQL-Injection vulnerability exists in the comments.php script,
This string manipulates the SQL query into looking something like this:
This returns a result set that lists the user rights of the first user in
Impact:
This would manipulate the string into something like this:
Impact:
ADDITIONAL INFORMATION
The information has been provided by <mailto:parenthesis@elitehaven.net>
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
====================
DISCLAIMER:
http://server.com/imageview.php?desc=><script>alert(document.cookie)</script>
This vulnerability may be able to be exploited to hijack the session of a
currently logged-in editor, and thus gaining administrative privileges
over the weblog. However, (as usual) XSS vulnerabilities are quite hard to
exploit successfully.
An SQL-Injection vulnerability exists in the 'shouts.php' by using the
variable 'shoutlimit'.
SQL-Injection vulnerabilities can be used to obtain usernames and
passwords of privileged accounts on the website.
using the variable 'blogid'. By sending a HTTP 'POST' request to the file
'comments.php', with the variable 'blogid' set to the exploit string
below, an attacker could potentially obtain encrypted passwords for later
brute-forcing. The SQL injection that could exploit this vulnerability is
demonstrated here:
1 and 'a'='z' union select
ba.authorid,name,pwd,email,url,ba.active,comments,be.blogid from
blog_authors ba, blog_entries be where 'a'='a'
select blogid,preview,entry,be.dateentered,title,pageviews,usepreview,name
from blog_entries be inner join blog_authors ba on be.authorid=ba.authorid
where blogid=1 and 'a'='z' union select
ba.authorid,name,pwd,email,url,ba.active,comments,be.blogid from
blog_authors ba, blog_entries be where 'a'='a' and be.active=1
the database (usually the administrator).
This vulnerability could allow for the stealing of encrypted passwords
from the database, which then allows them to be brute-forced.
A third SQL-Injection vulnerability exists in the script 'functions.php'
in the method blogs() where a SQL query is built (Note: The actual query
is executed in 'userfunctions.php', method showblogs() in the appropriate
skins directory). By sending a request to the script 'category.php', one
can manipulate the string into outputting an author password. The SQL
injection that could exploit this string is thus:
1 and 1=2 union select
ba.authorid,name,pwd,email,url,ba.active,comments,be.blogid,be.preview
from blog_authors ba, blog_entries be where 1=1
select
be.blogid,be.preview,be.entry,be.dateentered,be.title,be.pageviews,be.usepreview,ba.name,be.pinned from blog_entries be inner join blog_authors ba on be.authorid=ba.authorid where catid=1 and 1=2 union select ba.authorid,name,pwd,email,url,ba.active,comments,be.blogid,be.preview from blog_authors ba, blog_entries be where 1=1 and be.active=1 order by be.dateentered desc
This vulnerability might allow for the stealing of encrypted password
strings from the database.
Calum Power [Enune] a.k.a Andrew Smith.
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
====================
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.
Relevant Pages
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... Ipswitch Multiple Vulnerabilities
(IMail IMAP LIST Command DoS, ... Collaboration Suite SMTP Format String) ... Remote
exploitation of a denial of service vulnerability in Ipswitch ... (Securiteam)
... Application: Yahoo! ... Another vulnerability appears in the "DesktopIcon"
property of the object. ... object.DesktopIcon = DesktopIcon As String ... (Full-Disclosure)
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... Phorum is "an Open Source
web based discussion ... An XSS vulnerability exists in the script 'common.php' that allows
... By sending a HTTP/POST variable to any Phorum script, ... (Securiteam)
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... any HTML or script code
can be injected. ... * Another XSS vulnerability can be found in the signup.php script
(ex.: ... there is also a remote PHP code execution in the system. ... (Securiteam)
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... A cross site scripting vulnerability
has been found in the user ... When registering a new account the register.asp script fails
to properly ... Vendor Status: ... (Securiteam)