[NEWS] NeoEngine Multiple Vulnerabilities (Format String, DoS)



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

- - - - - - - - -



NeoEngine Multiple Vulnerabilities (Format String, DoS)
------------------------------------------------------------------------


SUMMARY

" <http://www.neoengine.org/> NeoEngine is an Open Source 3D game engine,
currently available in two flavors"

Improper handling of user input allows attackers to execute arbitrary code
using a Format string, and to crash NeoEngine.

DETAILS

Vulnerable Systems:
* NeoEngine version 0.8.2
* NeoEngine version CVS 3422

Format String:
The visualization functions used in NeoEngine are affected by some format
string vulnerabilities caused by the absence of the format argument:

From neoengine/console.cpp:
bool Console::Render( Frustum *pkFrustum, bool bForce )
...
m_pkFont->Printf( m_iX + m_iWidth - 2, m_iY + iHeight,
strCmd.c_str() );
...
m_pkFont->Printf( m_iX + 4, m_iY + iHeight, strCmd.c_str() );
...

From neowtk/textarea.cpp:
bool TextArea::Render( Frustum *pkFrustum, bool bForce )
...
if( !m_bPassword )
m_pkFont->Printf( kPos.x + m_kPadding.x, kPos.y +
m_kPadding.y, m_strText.c_str() );
else
m_pkFont->Printf( kPos.x + m_kPadding.x, kPos.y +
m_kPadding.y, string( m_strText.length(), '*' ).c_str() );

DoS:
It's possible to crash the engine through a too big uiMessageLength value
(32 bit number) which causes the assignment of a NULL pointer to the
pucMessage pointer and the subsequent reading from the socket without
verifying the return value.

From neonet/core.cpp:
void Core::Receive()
...
unsigned int uiMessageLength;
...
if ( pkTCPSocket->Read( &uiMessageLength, sizeof( unsigned int ) ) <=
0 )
...
char *pucMessage;
pucMessage = ( char* )malloc( uiMessageLength + 1 );
if ( uiMessageLength > 0 )
{
pkTCPSocket->Read( pucMessage, uiMessageLength );
}
pucMessage[ uiMessageLength ] = 0;
Message *pkMessage = pkMessageTemplate->Deserialize( string(
pucMessage, uiMessageLength ) );
free( pucMessage );


ADDITIONAL INFORMATION

The information has been provided by <mailto:aluigi@xxxxxxxxxxxxx> Luigi
Auriemma.
The original article can be found at:
<http://aluigi.altervista.org/adv/neoenginex-adv.txt>
http://aluigi.altervista.org/adv/neoenginex-adv.txt



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


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@xxxxxxxxxxxxxx
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@xxxxxxxxxxxxxx


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

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.



Relevant Pages

  • [UNIX] Dropbear SSH Server Format String Vulnerability
    ... 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 remotely exploitable format string vulnerability exists in the default ... configuration of the Dropbear SSH Server up until version 0.35, ... will fail before the vulnerable code is executed, but the methodname may ...
    (Securiteam)
  • [UNIX] Perdition IMAP Proxy str_vwrite Format String Vulnerability
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Perdition IMAP Proxy str_vwrite Format String Vulnerability ... the actual number of format identifiers is compared to ...
    (Securiteam)
  • [NEWS] VideoLAN VLC Buffer Overflow and Format String
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... VideoLAN VLC Buffer Overflow and Format String ... Buffer-overflow in the handling of the subtitles ... VLC is able to handle the subtitles automatically in a very simple way, ...
    (Securiteam)
  • [UNIX] CDE Mailer argv[0] Format String
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... CDE Mailer suffers from a format string vulnerability due to improper ... Solaris implementation of CDE Mailer. ...
    (Securiteam)
  • [UNIX] Metamail Format String and Buffer Overflows Vulnerabilities
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Metamail implements ... The first format string bug occurs when a message has a ...
    (Securiteam)