{"id":384,"date":"2012-09-01T18:41:57","date_gmt":"2012-09-01T22:41:57","guid":{"rendered":"http:\/\/www.alquier.org\/linfa\/work\/?p=384"},"modified":"2012-09-01T18:41:57","modified_gmt":"2012-09-01T22:41:57","slug":"sql-injected","status":"publish","type":"post","link":"http:\/\/www.alquier.org\/laurent\/sites\/2012\/09\/01\/sql-injected\/","title":{"rendered":"SQL injected!"},"content":{"rendered":"<p><a href=\"https:\/\/www.google.com\/webmasters\/tools\/home?hl=en\">Google Webmaster tools<\/a> alerted me to a recent infection of one of my sites with malware.<\/p>\n<p>The infected area turned out to be a <a href=\"http:\/\/www.alquier.org\/eerie\/aeerie\/index_alpha.cfm\" class=\"broken_link\">simple directory of alumni from my former school<\/a>, written in ColdFusion. I thought I had been clever by having a two steps confirmation process before updating entries in the database but that was written long ago and obviously not sufficient for crafty spammers.<\/p>\n<p>I had to clean up infected entries in the database, turn off access to the edit forms and start migrating the whole directory to a more secure framework (in a <a href=\"http:\/\/www.alquier.org\/eerie\/forum\/\" class=\"broken_link\">wordpress instance<\/a>&#8230; something I had been planning to do a long time ago).<\/p>\n<p>I guess I should thank spammers for forcing me to work on my sites again.<\/p>\n<p>Speaking of spammers&#8230;. looking at the Akismet logs for one of my blogs show a tenfold increase in spam attacked for August alone! what is going on there?!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google Webmaster tools alerted me to a recent infection of one of my sites with malware. The infected area turned out to be a simple directory of alumni from my former school, written in ColdFusion. I thought I had been clever by having a two steps confirmation process before updating entries in the database but that was written long ago&hellip; <\/p>\n<p><a class=\"more-link\" href=\"http:\/\/www.alquier.org\/laurent\/sites\/2012\/09\/01\/sql-injected\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[123,1],"tags":[128,151,163,17],"class_list":["post-384","post","type-post","status-publish","format-standard","hentry","category-tips","category-uncategorized","tag-blogs","tag-malware","tag-spam","tag-wordpress","xfolkentry","clearfix"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8frwa-6c","jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/posts\/384","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/comments?post=384"}],"version-history":[{"count":0,"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/posts\/384\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/media?parent=384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/categories?post=384"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/tags?post=384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}