Register | Forget Password | Login
Search :
SecurityReason

News

Search

SecurityAlert

About SecurityAlert

ExploitAlert

SecurityReason Research

WLB

WLB Database

Send to WLB

About WLB

RSS

News

SecurityAlert

World Laboratory of Bugtraq

ExploitAlert

Apache

PHP

Corporate

Contact

About us

Services

SecurePHP

Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Details : SecurityAlert

  Topic : Format string in The Dawn of Time 1.69s beta4
  SecurityAlert : 3201
  CVE : CVE-2007-5265
  SecurityRisk : High  alert  (About)
  Remote Exploit : Yes
  Local Exploit : No
  Exploit Given : Yes
  Credit : Luigi Auriemma
  Published : 09.10.2007

  Affected Software : The Dawn of Time 1.69s beta4



  Advisory Text :  

#######################################################################

Luigi Auriemma

Application: The Dawn of Time
http://www.dawnoftime.org
Versions: <= 1.69s beta4 (and 1.69r too)
Platforms: *nix and Windows
Bug: format string in web server authorization
Exploitation: remote
Date: 05 Oct 2007
Author: Luigi Auriemma
e-mail: aluigi (at) autistici (dot) org [email concealed]
web: aluigi.org

#######################################################################

1) Introduction
2) Bug
3) The Code
4) Fix

#######################################################################

===============
1) Introduction
===============

The Dawn of Time (aka Dawn) is a MUD server originally based on the
ROM codebase.

#######################################################################

======
2) Bug
======

A format string vulnerability is located in the function which handles
the access to the restricted zones of the internal web server like
"Reset password".
After having decoded the base64 string containing username:password the
string is used without format argument with sprintf().

from websrv.cpp:

bool processWebHeader(web_request_data *w){
...
if (str_len(pLine)>0 && str_len(pLine)<200){
char decoded[200];
char *d;

d =decodeBase64(pLine);
if (d){
sprintf(decoded,d);
...
void filterWebRequest(connection_data *c){
...
if (str_len(pLine)>0 && str_len(pLine)<200){
char decoded[200];
char *d;

d =decodeBase64(pLine);
if (d){
sprintf(decoded,d);

#######################################################################

===========
3) The Code
===========

Go to:

http://SERVER:4001/locked

and use the username %n%n%n%n%n
or just:

http://%n%n%n%n%n:%n%n%n%n%n@SERVER:4001/locked

#######################################################################

======
4) Fix
======

The bug will be officially fixed in the next release.
I have also opened a thread in the Dawn forum some days ago with the
instructions for the fix:

http://forums.dawnoftime.org/viewtopic.php?t=2102

#######################################################################

---
Luigi Auriemma
http://aluigi.org
http://forum.aluigi.org
http://mirror.aluigi.org





  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

*BSD libc (strfmon) Multiple vulnerabilities

high- 2008-03-25

Maksymilian Arciemowicz discovered a Integer Overflow vulnerability in the libc library "strfmon()" function.A vulnerability could allow an attacker who successfully exploits this vulnerability to take control of the affected *BSD systems.

Apache rss

» Apache Tomcat information
   disclosure

» Apache Tomcat <=
   6.0.18 UTF8 Directory
   Traversal Vulnerability

» Apache Tomcat information
   disclosure vulnerability

» Apache Tomcat XSS
   vulnerability

PHP rss

» PHP 5.2.6 (error_log)
   safe_mode bypass

» PHP 5.2.6 chdir(),ftok()
   (standard ext) safe_mode
   bypass

» PHP 5.2.6 posix_access()
   (posix ext) safe_mode
   bypass

» PHP 5.2.5 and prior :
   *printf() functions
   Integer Overflow

Copyright © SecurityReason. All Rights Reserved.