Monday, October 08, 2007

[NT] Doom 3 Engine Through PB 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
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html


- - - - - - - - -

Doom 3 Engine Through PB Format String
------------------------------------------------------------------------


SUMMARY

The Doom 3 engine (formerly known as
<http://en.wikipedia.org/wiki/Id_Tech_4> id Tech 4) is the latest version
of the famous game engine developed by <http://www.idsoftware.com> ID
Software. A format string vulnerability exists in Doom 3 engine.

DETAILS

The function which visualizes the strings on the game's console is
vulnerable to a format string vulnerability, something similar to
snprintf(buff, 1024, string);

Usually this is not a problem since the engine uses some functions and
tricks to avoid the visualization of the % char like dropping it or
inserting a space between it and the subsequent char.

But there is a way for bypassing this limitation with also the better
advantages of doing it anonymously and with only one single spoofable UDP
packet: Punkbuster.

When Punkbuster is active on a server (practically almost all the public
servers) it visualizes the content of some incoming packets using the
game's console.
The Punkbuster packets needed for forcing the visualization of a custom
string in the console are PB_Y (YPG server) and PB_U (UCON), while in the
past was ok to use PB_P too which has been recently made no longer verbose
probably due to its abusing attempted by people for spamming servers
(which is naturally still possible with the above packets).

As already said this is a bug in the Doom 3 engine and affects both
dedicated and non-dedicated servers, so NOT a Punkbuster's bug which is
used only as a "way" for reaching a zone of the code otherwise
unexploitable.

Proof of concept:
<http://aluigi.org/poc/d3engfspb.zip> http://aluigi.org/poc/d3engfspb.zip

Vendor Status:
No fix from the vendor.

Punkbuster has released a new version of the anti-cheat which filters the
% char passed to the vulnerable function used in the Doom 3 engine for
visualizing the strings in the console. This prevents the exploitation of
the bug via Punkbuster.


ADDITIONAL INFORMATION

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

http://aluigi.org/adv/d3engfspb-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@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.

38 comments:

  1. Anonymous8:40 PM

    I know this if off topic but I'm looking into starting my own blog and was wondering what all is needed to get set up? I'm assuming having a blog
    like yours would cost a pretty penny? I'm not very web smart so I'm not 100% sure.

    Any recommendations or advice would be greatly appreciated.
    Thanks

    My blog ... College University ()

    ReplyDelete
  2. Anonymous8:42 PM

    This post is genuinely a nice one it helps new net people, who are wishing in favor
    of blogging.

    Feel free to surf to my page - public relations courses []

    ReplyDelete
  3. Anonymous9:35 PM

    What's Going down i am new to this, I stumbled upon this I've discovered It absolutely useful and it has aided me out
    loads. I hope to give a contribution & help other
    users like its aided me. Good job.

    Also visit my weblog; http://Gk.emp.br/igreja/?l=blogs.blog&article=7992

    ReplyDelete
  4. Anonymous10:36 PM

    My brother recommended I might like this web site. He was entirely right.
    This post truly made my day. You cann't imagine simply how much time I had spent for this information! Thanks!

    Feel free to surf to my web blog: Building Maintenance *www.maghrebsite.com*

    ReplyDelete
  5. Anonymous10:48 PM

    I think this is one of the most important information
    for me. And i am glad reading your article.
    But should remark on few general things, The site style is perfect,
    the articles is really nice : D. Good job, cheers

    My homepage ... metal manufacturing []

    ReplyDelete
  6. Anonymous10:58 PM

    I do not know if it's just me or if everyone else experiencing problems with your blog. It seems like some of the written text in your posts are running off the screen. Can somebody else please comment and let me know if this is happening to them too? This could be a problem with my web browser because I've had this happen before.

    Many thanks

    my blog ... mouse click the following post

    ReplyDelete
  7. Anonymous11:32 PM

    I'm more than happy to find this website. I wanted to thank you for your time due to this fantastic read!! I definitely appreciated every part of it and i also have you book-marked to look at new stuff on your web site.

    Feel free to visit my web blog energy engineering

    ReplyDelete
  8. Anonymous11:33 PM

    I was more than happy to discover this site.
    I want to to thank you for your time due to this wonderful read!
    ! I definitely enjoyed every part of it and
    i also have you saved as a favorite to look at new things on your website.


    My site :: trendy fashion

    ReplyDelete
  9. Anonymous11:38 PM

    Wow, that's what I was looking for, what a stuff! present here at this blog, thanks admin of this web page.

    Here is my homepage - College University

    ReplyDelete
  10. Anonymous11:40 PM

    Hi just wanted to give you a brief heads up and let you know a few of the images aren't loading correctly. I'm
    not sure why but I think its a linking issue. I've tried it in two different internet browsers and both show the same results.

    My blog post Helpful Resources

    ReplyDelete
  11. Anonymous11:43 PM

    I would like to thank you for the efforts you have put in penning this blog.
    I'm hoping to check out the same high-grade blog posts from you in the future as well. In fact, your creative writing abilities has encouraged me to get my very own blog now ;)

    My page; environmentnews.eu (http://fisiere.debelea.com/blog/1862/6-easy-ways-approach-living-green-at-your-workplace-revealed/add-comment/)

    ReplyDelete
  12. Anonymous11:47 PM

    Thanks for your marvelous posting! I genuinely enjoyed reading it, you'll be an excellent author. I will ensure that you bookmark your site and can often return in the foreseeable future. I wish to encourage one to keep on your best wishes, have a pleasant week-end!

    Feel free to surf to my homepage - news environment

    ReplyDelete
  13. Anonymous11:48 PM

    Good day! I understand this really is kinda off topic however I’d figured I’d ask.
    Would you be thinking about trading links or possibly guest authoring a article or vice-versa?
    My site explains a lot of the same topics as yours and In my opinion we could greatly benefit
    from one another. If however you be interested feel
    absolve to shoot me a message. I enjoy hearing from you!
    Fantastic web log incidentally!

    Also visit my web-site - Electrical Power News

    ReplyDelete
  14. Anonymous11:49 PM

    Hello! I’ve been following your blog for a long time now last but not least got the bravery to go right ahead and offer you a raise your
    voice from Porter Tx! Just desired to mention keep up the superb work!


    My weblog; energy engineering

    ReplyDelete
  15. Anonymous12:38 AM

    Hey just wanted to give you a quick heads up. The text in your content seem to be running off the screen in Chrome.
    I'm not sure if this is a formatting issue or something to do with browser compatibility but I figured I'd post to let you know.

    The style and design look great though! Hope you get the problem fixed
    soon. Kudos

    Look into my blog :: Read the Full Article

    ReplyDelete
  16. Anonymous12:41 AM

    Having read this I thought it was rather informative.
    I appreciate you spending some time and effort to put this information
    together. I once again find myself spending a significant amount of time both reading and commenting.
    But so what, it was still worth it!

    Have a look at my weblog ... College University (socialtime.uv.ro)

    ReplyDelete
  17. Anonymous12:57 AM

    I am sure this post has touched all the internet viewers, its really really fastidious paragraph on building up new
    webpage.

    My blog ... Recommended Website

    ReplyDelete
  18. Anonymous1:07 AM

    Hey! Somebody within my Facebook group shared this site around and so i came
    to take a look. I’m absolutely loving the info.
    I’m book-marking and will be tweeting this to my followers!
    Superb web log and great design and style.

    Look into my web page - public relations courses

    ReplyDelete
  19. Anonymous1:08 AM

    Tremendous things here. I am very glad to peer your post.

    Thanks so much and I'm taking a look forward to contact you. Will you kindly drop me a e-mail?

    my homepage - Entertainment24.eu

    ReplyDelete
  20. Anonymous1:33 AM

    Superb web log! Are you experiencing any ideas for aspiring writers?

    I’m hoping to begin my own site soon but I’m just a little lost on every thing.

    Could you propose you start with a totally free platform like
    WordPress or go for a paid option? You can find so many selections available that I’m completely confused.
    Any guidelines? Thanks!

    Feel free to surf to my site ... electric manufacturing

    ReplyDelete
  21. Anonymous1:34 AM

    Great post. I was checking continuously this blog and
    I'm impressed! Very helpful info particularly the last part :) I care for such information much. I was looking for this certain information for a long time. Thank you and best of luck.

    my website :: Childrens Society ()

    ReplyDelete
  22. Anonymous1:36 AM

    Hello! This post couldn’t be written much better!
    Reading this post reminds me of my good old room mate!
    He always kept referring to this. I am going to forward this write-up to him.
    Confident he'll have a great read. Thanks for sharing!

    Look into my blog ... http://connectartist.com

    ReplyDelete
  23. Anonymous1:43 AM

    Hey there just desired to provide you with a quick heads up.
    The text in your post appear to be running off the screen in Opera.
    I’m uncertain if it is a format issue or something regarding browser
    compatibility but I thought I’d post to tell you. The design look great though!
    Hope you receive the issue fixed soon. Thanks

    Here is my site - family house

    ReplyDelete
  24. Anonymous1:50 AM

    Thanks for finally talking about > "[NT] Doom 3 Engine Through PB Format String" < Loved it!

    my web site ... Furniture Canada

    ReplyDelete
  25. Anonymous1:52 AM

    Thank you for sharing your thoughts. I really appreciate your efforts and I am waiting for your next write
    ups thank you once again.

    My web-site ... lifestyle news

    ReplyDelete
  26. Anonymous1:54 AM

    Article writing is also a excitement, if you be acquainted with afterward you can write if not it is complicated to write.


    My web blog - Financial PR

    ReplyDelete
  27. Anonymous1:57 AM

    Amazing! This blog looks exactly like my old one!
    It’s on a totally different subject but it has virtually exactly the same page layout and design.
    Great range of colors!

    my site article source

    ReplyDelete
  28. Anonymous2:02 AM

    I know this if off topic but I'm looking into starting my own weblog and was wondering what all is required to get setup? I'm assuming having a blog like yours would cost a pretty penny?

    I'm not very web savvy so I'm not 100% sure.
    Any tips or advice would be greatly appreciated.

    Kudos

    Feel free to surf to my website :: electrical power articles

    ReplyDelete
  29. Anonymous6:32 AM

    bookmarked!!, I like your website!

    Feel free to surf to my blog: click the next internet Site

    ReplyDelete
  30. Anonymous6:39 AM

    I think the admin of this website is actually working hard
    in support of his website, for the reason that here every stuff is quality based
    material.

    Here is my site ... mouse click the following article

    ReplyDelete
  31. Anonymous8:13 AM

    Hi there, I log on to your blogs on a regular basis.
    Your story-telling style is witty, keep it up!

    Here is my web blog; student government ()

    ReplyDelete
  32. Anonymous8:37 AM

    I enjoy that which you guys usually are up too.
    This kind of clever work and reporting! Continue the awesome works guys I’ve incorporated you guys to our web log.


    Look at my blog ... video game industry

    ReplyDelete
  33. Anonymous12:45 PM

    I am regular visitor, how are you everybody? This piece of writing
    posted at this site is in fact fastidious.

    Feel free to visit my blog post; News Press Releases

    ReplyDelete
  34. Anonymous12:56 PM

    What i don't realize is in reality how you are no longer actually a lot more smartly-preferred than you may be now. You're so
    intelligent. You realize thus significantly in the case of this
    subject, produced me in my view believe it from so many
    varied angles. Its like men and women aren't involved except it's one thing to accomplish with Woman gaga!
    Your personal stuffs great. All the time deal with it up!


    my homepage: video game industry

    ReplyDelete
  35. Anonymous4:21 PM

    Hi there! This post could not be written much better! Reading
    through this article reminds me of my previous roommate!
    He constantly kept preaching about this. I'll send this article to him. Pretty sure he will have a great read. Many thanks for sharing!

    Feel free to visit my site: thefinalwish.org ()

    ReplyDelete
  36. Anonymous4:26 PM

    Link exchange is nothing else except it is simply placing the other person's web site link on your page at appropriate place and other person will also do similar for you.

    my web-site: publishing news

    ReplyDelete
  37. Anonymous7:14 PM

    What's Taking place i am new to this, I stumbled upon this I've discovered It absolutely helpful and it has helped me out loads.
    I'm hoping to contribute & assist other users like its helped me. Great job.

    my page Building Maintenance

    ReplyDelete
  38. Anonymous8:11 PM

    What a material of un-ambiguity and preserveness
    of valuable know-how on the topic of unpredicted feelings.


    Here is my blog post Personalization Gifts (personalization-gifts.fashionarticles.eu)

    ReplyDelete