[UNIX] Authentication Bypass In CitrusDB
From: SecuriTeam (support_at_securiteam.com)
Date: 02/21/05
- Previous message: SecuriTeam: "[UNIX] Cross Site Scripting Vulnerability in Openconf Conference Management Software"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: list@securiteam.com Date: 21 Feb 2005 12:39:06 +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
- - - - - - - - -
Authentication Bypass In CitrusDB
------------------------------------------------------------------------
SUMMARY
<http://www.citrusdb.org/> CitrusDB is "an open source customer database
application that uses PHP and a database backend (currently MySQL) to keep
track of customer information, services, products, billing, and customer
service information".
CitrusDB uses an easily computable cookie for every user for
identification allowing a remote user to easily create the cookie required
to logon as the administrator of the product.
DETAILS
CitrusDB uses a cookie user_name to determine the name of the user and a
cookie id_hash to check if the user_name is valid. The id_hash is a MD5
checksum of the username with the string "boogaadeeboo" appended.
Example:
user_name: admin
id_hash: md5sum("adminboogaadeeboo") = 4b3b2c8666298ae9771e9b3d38c3f26e
An attacker only needs to guess a correct username, "admin" normally will
work since it is the default administrator name in CitrusDB.
Proof of Concept
Workaround
Disclosure Timeline:
ADDITIONAL INFORMATION
The information has been provided by
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
====================
DISCLAIMER:
curl -D - --cookie "id_hash=4b3b2c8666298ae9771e9b3d38c3f26e;
user_name=admin" http://
Change $hidden_hash_var in /citrusdb/include/user.inc.php to a value
different than "boogaadeeboo". This way the an attacker needs to acquire a
correct cookie to get access or brute force a given MD5 in order to obtain
the configured $hidden_has_var.
2005-02-04 Email sent to author
2005-02-12 CVE number requested
2005-02-14 posted as CAN-2005-0408
<mailto:dornseif@informatik.rwth-aachen.de> Maximillian Dornseif.
The original article can be found at:
<http://tsyklon.informatik.rwth-aachen.de/redteam/advisories/rt-sa-2005-002.txt> http://tsyklon.informatik.rwth-aachen.de/redteam/advisories/rt-sa-2005-002.txt
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 ... Wordpress Cookie Integrity
Protection Vulnerability ... USERNAME: The username for the authenticated user ...
(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 ... Citrix NetScaler Web Management
Cookie Weakness ... the attacker might be able to impersonate the user for the duration
... plaintext information stored by it by using a chosen plaintext attack. ... (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 ... CitrusDB is "an open
source customer database ... CitrusDB uses a textfile to temporarily store credit card
information. ... (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 ... The cookie specifications detail
a path argument that can be used to ... and standard encoding techniques the path restriction
functionality can be ... (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 ... There is a session fixation vulnerability
in HP Systems Insight Manager ... cookie for maintaining a session with administrator's
browser. ... Once the administrator is logged in, ... (Securiteam)