Forum Moderators: DixonJones

Message Too Old, No Replies

Someone Asking For Document With Meta Description as name

404 Errors

         

IanTurner

11:54 am on Dec 21, 2016 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Looking through my errors I see a significant number of 404 errors where the meta description of a page is requested as a document.

Anyone else seeing this - is it some kind of server bug, or is there a spider with a bug out there?

engine

12:22 pm on Dec 21, 2016 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



What user agent and IP are you seeing?

keyplyr

12:36 pm on Dec 21, 2016 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Just how is this done? How can meta tags be directly requested and not the document itself? What does the log entry look like?

IanTurner

2:45 pm on Dec 21, 2016 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Been a while since I looked in detail at web logs...
but here is one of the examples - I have had lots on various pages across a number of sites.

2016-12-15 21:13:03 10.240.0.3 POST /As+perguntas+mais+frequentes+que+recebemos+aqui+no+the-rest-of-the-meta-description 80 - 177.45.94.83 Mozilla/5.0+(Windows+NT+6.0)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/49.0.2623.112+Safari/537.36 http://www.example.com/example.htm 404 0 2 421

IanTurner

2:54 pm on Dec 21, 2016 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



And another

2016-12-12 16:30:04 10.240.0.3 POST /As+perguntas+mais+frequentes+que+recebemos+aqui+no+the-rest-of-the-meta-description 80 - 201.62.54.72 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/54.0.2840.99+Safari/537.36 http://www.example.com/example.htm 404 0 2 468

not2easy

2:59 pm on Dec 21, 2016 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Looks like amateur messed up referer spam from Brazil - it's a "POST" request, not "GET"

IanTurner

3:56 pm on Dec 21, 2016 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Not so sure that it is just Brazil as other language sites also receiving same kind of log entries.

2016-11-10 12:51:59 10.240.0.3 POST /Les+questions+les+plus+fréquentes+the-rest-of-the-meta-description 80 - 176.140.232.76 Mozilla/5.0+(Windows+NT+5.1)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/49.0.2623.112+Safari/537.36 http://www.example.com/example.htm 404 0 2 171

Note example.com in this entry is a different site

It looks like it could be something to do with certain versions of Chrome

not2easy

4:30 pm on Dec 21, 2016 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



The IP was Brazil, that's why it was mentioned. This 176.140. IP is from France, but it also is a "POST" request.

IanTurner

4:35 pm on Dec 21, 2016 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Yes the consistency seems to be the POST request and it being Chrome. The pages that are having these request all have non-submitable forms - with no action and no submit button/submit function

lucy24

7:29 pm on Dec 21, 2016 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Are all those + signs present in your raw logs? Or are they an artifact of whatever analytics program you're using? There are times when analytics or processed logs are a valid alternative--in rare situations they may even give better information--but in general there is no substitute for studying the actual, raw, unprocessed logs.

In any case you may choose to block POST requests for pages that don't involve forms; that way you don't have to keep playing whack-a-mole with IP ranges, and your server doesn't have to go to the effort of looking for the file each time.

keyplyr

7:33 pm on Dec 21, 2016 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Are all those + signs present in your raw logs? Or are they an artifact of whatever analytics program you're using?
Likey in whatever scripting is being used for the vulnerability attempt.

IanTurner

7:38 pm on Dec 21, 2016 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



The plus signs are in the raw logs, I have shortened the meta description to anonymise - in the log they are requesting the full meta description. I'd guess it is to replace the spaces that are in the meta description.

IanTurner

7:40 pm on Dec 21, 2016 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



I might track back requests from those IPs to see if there is some kind of pattern - and to see if they are requesting the page from which the meta description is taken from first - but that won't be for a day or so.

keyplyr

12:00 am on Dec 22, 2016 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The script is just using your meta description as part of the injection attempt at port 80 (the most widely used for hosting) on the server. Attempting to POST whatever content they have in their script, usually some type of spam, but it could also be a virus.

From the log snippet you posted, it shows your server returned a 404 (not found) response, However you should also look for other requests made by this IP address. If they were able to get any of the 2** response codes, then the injection may have been successful.

mack

4:19 am on Dec 22, 2016 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



It could be a bot that has previously crawled your site, now it has come back and is sending the wrong requests, perhaps a sloppy coder has specifies an incorrect database table or something and instead of a domain.bla/URL it's requesting domain.bla/description

Mack.