lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <DUB118-W789BC0071AD7A5A1412F7EA760@phx.gbl>
Date: Fri, 28 Jun 2013 14:17:43 +0100
From: Pedro Laguna <pedlagdur@...mail.co.uk>
To: "full-disclosure@...ts.grok.org.uk" <full-disclosure@...ts.grok.org.uk>
Subject: Windows XP cmd.exe crash

Ey list! Just something quick and funny crash I found long time ago and it may give some of you something to check this weekend.
Windows XP cmd.exe crash when trying to copy files with a very long name. The following BATCH file can crash the cmd.exe process:
----------------------------------- crash.bat --------------------------------------@...o offecho test > data.txtcopy "%CD%"\data.txt \\.\C:\AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.txtREM copy "%CD%"\data.txt \\?\C:\AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.txt---------------------------------- / crash.bat ----------------------------------------
It only happens with "copy" but not with "move" command and with both \\.\ and \\?\ prefixes. I'm not an expert on these fields so I don't know if it will be possible to exploit it, maybe some of you with crazy kung fu skills can do it. If not, it's just a weird behaviour for the cmd.exe and given that is less than a year to the end of life of the Windows XP cannot see any harm sharing it.
Ta!
--
Pedro Laguna 		 	   		  
Content of type "text/html" skipped

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ