<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>44351</bug_id>
          
          <creation_ts>2004-03-11 05:50 0000</creation_ts>
          <short_desc>games-fps/unreal engine vulnerability</short_desc>
          <delta_ts>2007-11-05 21:35:24 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Security</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>CANTFIX</resolution>
          
          <status_whiteboard>B2 [upstream+ masked] condordes</status_whiteboard>
          
          <priority>P1</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>carlo@gentoo.org</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>aragorn@elessar.trix.net</cc>
    
    <cc>brebs@sent.com</cc>
    
    <cc>chewi@aura-online.co.uk</cc>
    
    <cc>condordes@gentoo.org</cc>
    
    <cc>denilsonsa@gmail.com</cc>
    
    <cc>games@gentoo.org</cc>
    
    <cc>GNUtoo@no-log.org</cc>
    
    <cc>omes@omes.org</cc>
    
    <cc>spamgoeshere@bardak.de</cc>

      

      
          <flag name="Assigned_To"
                status="?"
                setter="koon@gentoo.org"
          />
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2004-03-11 05:50:04 0000</bug_when>
            <thetext>http://www.securityfocus.com/archive/1/356904/2004-03-08/2004-03-14/0

Description:
The problem is a format string bug in the Classes management.
Each time a client connects to a server it sends the names of the
objects it uses (called classes).

If an attacker uses a class name containing format parameters (as %n,
%s and so on) he will be able to crash or also to execute malicious
code on the remote server.

Affected ebuilds: 
UT2003, America&apos;s Army, ... (maybe more, i&apos;m not a game freak)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-03-11 09:25:41 0000</bug_when>
            <thetext>i&apos;m not 100% sure but i believe UT-451 and UT:GOTY-451 are not affected
the post-436 versions of UT are maintained by this group:
http://utpg.org/

their news page talks about &apos;Fix for Player Login Crash Bug&apos; (dated Jul-16-03)

the 451 have these fixes</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2004-03-11 09:51:22 0000</bug_when>
            <thetext>No idea SpanKY - from the linked bugtraq msg:

&gt;About UT and UT2003:
&gt;EpicGames refused to release a quick-fix for UnrealTournament and
&gt;UnrealTournament 2003 so the fix was inserted in the planned patch
&gt;as they do for graphic bugs and other small problems... the patch has
&gt;not been released yet and is impossible to know when it will be ready.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2004-03-11 10:43:27 0000</bug_when>
            <thetext>I am looking into this and will hopefully have a solution some time soon.

However, given Epic&apos;s take on such things, I doubt we will see any form of fix until they release their next round of patches.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cshields@gmail.com</who>
            <bug_when>2004-03-30 20:38:13 0000</bug_when>
            <thetext>Is there any word on Epic IRT this??

Thanks!

-C</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2004-03-31 04:09:15 0000</bug_when>
            <thetext>Epic? Security fix?  Surely you jest!

Epic doesn&apos;t release &quot;hot fixes&quot; of any kind, so we have to wait until the next full patch before this will get fixed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>solar@gentoo.org</who>
            <bug_when>2004-03-31 07:00:19 0000</bug_when>
            <thetext>Wow. This is kinda a serious problem with QA. 
Exploitable packages should not be in the portage tree. If no fix exists then It should be masked. But I/we know that masking games might not fly.

But reading ..
&quot;About UT and UT2003:
EpicGames refused to release a quick-fix for UnrealTournament and
UnrealTournament 2003 so the fix was inserted in the planned patch
as they do for graphic bugs and other small problems... the patch has
not been released yet and is impossible to know when it will be ready.&quot;

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>klieber@gentoo.org</who>
            <bug_when>2004-03-31 07:30:28 0000</bug_when>
            <thetext>Because this bug allows arbitrary remote code execution, I consider it a fairly serious issue.  Consequently, the security team intends to hard mask any affected packages on or after 0600 on Wednesday.  comments/concerns should be posted to the thread on gentoo-core and/or here.

--kurt</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>klieber@gentoo.org</who>
            <bug_when>2004-03-31 07:32:19 0000</bug_when>
            <thetext>errr....make that 0600 on Thursday...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>klieber@gentoo.org</who>
            <bug_when>2004-03-31 23:51:30 0000</bug_when>
            <thetext>The following packages are expected to be masked because of this:

games-fps/unreal
games-fps/unreal-tournament
games-fps/unreal-tournament-goty
games-fps/unreal-tournament-infiltration
games-fps/unreal-tournament-strikeforce
games-fps/unreal-tournament-bonuspacks
games-fps/ut2003-bonuspack-epic
games-fps/ut2003
games-fps/ut2003-demo
games-server/ut2003-ded
games-fps/americas-army

Some of these packages may not be directly affected, but depend on other packages that are, so masking them as well limits the tree breakage.

If we determine that some/all of these games are, in fact, not vulnerable to the reported bug, we can unmask them individually as necessary.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>klieber@gentoo.org</who>
            <bug_when>2004-03-31 23:54:38 0000</bug_when>
            <thetext>after looking at the site Mike posted above, we may be able to avoid masking:

games-fps/unreal-tournament
games-fps/unreal-tournament-goty
games-fps/unreal-tournament-infiltration
games-fps/unreal-tournament-strikeforce
games-fps/unreal-tournament-bonuspacks

Not sure about games-fps/unreal, however.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-04-01 00:01:26 0000</bug_when>
            <thetext>there are a few parts to unreal ...

(1) it can only use the UT libraries from 436 atm ... 451 crashes it
(2) it&apos;s a single player game and although it is possible to host a server with it, i dont know of anyone who would do so for the internet ... it&apos;s only compatible with the same setup (linux unreal binary built on top of UT 436 libraries) ... in other words, Windows Unreal and UT (on any OS) is not compatible</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>klieber@gentoo.org</who>
            <bug_when>2004-04-01 00:04:04 0000</bug_when>
            <thetext>From the utpg.org home page news item:

--------------------------------------------------------
Fix for Player Login Crash Bug
	UT General :: Jul-16-03
From UnrealAdmin.org, here is a fix for the player login crash bug. This will be incorporated into the next patch as well:

All admins are advised to open their Core.int files and modify the following entry:

LoadClassMismatch=%s is not a child class of %s.%s

Change it to read:

LoadClassMismatch=%s is not a child class of %s.

This will prevent malicious clients from crashing your server by specifying an invalid player class when logging in. This fix should only be applied to Unreal Tournament servers, and you should restart your server after modifying the Core.int file in order to apply the changes.
--------------------------------------------------------

That does not appear to be a fix for the issue reported in this bug:  

&quot;If an attacker uses a class name containing format parameters (as %n,
%s and so on) he will be able to crash or also to execute malicious
code on the remote server.&quot;

As such, recommending we hard mask all packages for now until we have enough time to test/validate vulnerability.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>klieber@gentoo.org</who>
            <bug_when>2004-04-01 00:40:48 0000</bug_when>
            <thetext>Discussed with Mike on IRC.  Masking packages for now until we have more time to test.  Pointed Mike to the POC at http://aluigi.altervista.org/poc/unrfs-poc.zip.  He will test on Thurs.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2004-04-01 19:59:29 0000</bug_when>
            <thetext>ut2003, ut2003-bonuspack-epic, ut2003-ded, ut2003-demo, and americas-army have been fixed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2004-04-07 08:27:15 0000</bug_when>
            <thetext>Maybe we should issue a &quot;Temporary&quot; GLSA with the partial fix and reasons why the other packages are masked ?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-04-07 19:20:50 0000</bug_when>
            <thetext>just tested ut-451 and it is not fixed

utpg.org has released 451b to &apos;Fixed a couple of bugs that caused the client and server to crash when invalid classes are loaded&apos;

however, they&apos;ve only released for windows ... i e-mailed them asking about the linux version</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-04-09 23:18:12 0000</bug_when>
            <thetext>utpg got back to me and they said they&apos;re working on 451b for linux and it should &apos;be out shortly&apos; ...

we could wait for them before issuing a GLSA as i think it&apos;s the only game that&apos;ll be addressed in the near future ...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2004-04-23 08:00:53 0000</bug_when>
            <thetext>Still no sign of 451B for Linux on utpg.org. I think we should release a GLSA, unless someone has inside contacts with utpg defining what they mean by &quot;shortly&quot;.

-K</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2004-05-07 03:35:39 0000</bug_when>
            <thetext>Reemailed UTPG team to ask for Linux patch availability dates</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2004-06-05 03:35:32 0000</bug_when>
            <thetext>Status update (masked ebuilds)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2004-06-26 09:45:36 0000</bug_when>
            <thetext>There is a 451b of UTPG now... perhaps we should revisit this now?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2004-06-26 09:51:15 0000</bug_when>
            <thetext>Nevermind... I see now that it is the Windows version... perhaps I should read better before posting...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2004-09-13 01:30:24 0000</bug_when>
            <thetext>CondorDes: 
It&apos;s now assigned to you -- please check now and then if UTPG finally released that 451B patch for Linux : http://utpg.org/ </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>klieber@gentoo.org</who>
            <bug_when>2004-10-22 09:16:19 0000</bug_when>
            <thetext>no updates on this bug in forever -- site hasn&apos;t been updated since before that.  packages are hard-masked.  assuming this is a bug upstream doesn&apos;t plan to fix.

closing as cantfix.  we can re-open if/when upstream fixes.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>GNUtoo@no-log.org</who>
            <bug_when>2006-02-11 03:22:42 0000</bug_when>
            <thetext>too bad
is there any way to fix this security bug OUTSIDE unreal??? without sandboxing unreal???
such as tcp-ip filtering???

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2006-02-11 12:27:35 0000</bug_when>
            <thetext>No.

The only solution is to not run a server.

games-fps/unreal
games-fps/unreal-tournament
games-fps/unreal-tournament-goty

These are still vulnerable (and masked) because of this and we don&apos;t ever expect there to be a proper fix for them.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>GNUtoo@no-log.org</who>
            <bug_when>2006-02-12 12:53:14 0000</bug_when>
            <thetext>(In reply to comment #26)
&gt; No.
&gt; 
&gt; The only solution is to not run a server.
&gt; 
&gt; games-fps/unreal
&gt; games-fps/unreal-tournament
&gt; games-fps/unreal-tournament-goty
&gt; 
&gt; These are still vulnerable (and masked) because of this and we don&apos;t ever
&gt; expect there to be a proper fix for them.
&gt; 

so this is only for a SERVER?
if i run unreal and i conect to a server i have no risk at all?(with this bug)
that is great...i haven&apos;t understood this that way
so if i don&apos;t serve a game and sandbox the server app(i&apos;ve a working uml) i&apos;ll be able to play this game...
thank a lot</thetext>
          </long_desc>
      
    </bug>

</bugzilla>