Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2020-07-13 09:43:01

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,296
GitHub

[RESOLVED] Denial of service attack underway, server load is very high

Server processor load is very high, there’s a denial of service attack going on.

I’m investigating. I’ll update this thread as I find and fix.

Edit: That was fun. We are mostly back to normal.

Server load hit 16 at one point, typically it hovers around 0.3.

Source has been identified, blocked and reported.

Longer version: a host in Ukraine was hammering an article with opportunistic (script kiddy) URL parameters. Examples:

5qgQtq - - [13/Jul/2020:10:19:23 +0000] "GET /articles/welcome-to-your-site?color=%23cc0000&date=01/01/1967&datetime-local=01/01/1967&email=sample%40email.tst&file_upload=&month=7&number=1&password=g00dPa%24%24w0rD&range=1&search=&select_dd=1&select_dd2=2&select_multi=1&tel=555-666-0606&test_checkbox_1=on&test_checkbox_2=on&test_checkbox_3=
on&test_checkbox_4=on&test_radio_group=&text=1&text-data=01/01/1967&text_inline=1&text_inline2=1&textarea=/WEB-INF/web.xml HTTP/1.1" 403 661 46.101.158.114 "https://default-theme.textpattern.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21" "-" "1.27"
5qgQtq - - [13/Jul/2020:10:19:23 +0000] "GET /articles/welcome-to-your-site?color=%23cc0000&date=01/01/1967&datetime-local=01/01/1967&email=sample%40email.tst&file_upload=&month=7&number=1&password=g00dPa%24%24w0rD&range=1&search=&select_dd=1&select_dd2=2&select_multi=1&tel=555-666-0606&test_checkbox_1=on&test_checkbox_2=on&test_checkbox_3=
on&test_checkbox_4=on&test_radio_group=&text=1&text-data=01/01/1967&text_inline=1&text_inline2=1&textarea=../../../../../../../../../../windows/win.ini HTTP/1.1" 403 810 46.101.158.114 "https://default-theme.textpattern.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21" "-" "1
.28"
5qgQtq - - [13/Jul/2020:10:19:23 +0000] "GET /articles/welcome-to-your-site?color=%23cc0000&date=01/01/1967&datetime-local=01/01/1967&email=sample%40email.tst&file_upload=&month=7&number=1&password=g00dPa%24%24w0rD&range=1&search=&select_dd=1&select_dd2=2&select_multi=1&tel=555-666-0606&test_checkbox_1=on&test_checkbox_2=on&test_checkbox_3=
on&test_checkbox_4=on&test_radio_group=&text=1&text-data=01/01/1967&text_inline=1&text_inline2=1&textarea=C:%5CWINDOWS%5Csystem32%5Cdrivers%5Cetc%5Chosts HTTP/1.1" 403 594 46.101.158.114 "https://default-theme.textpattern.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21" "-"
"1.19"
5qgQtq - - [13/Jul/2020:10:19:23 +0000] "GET /articles/welcome-to-your-site?color=%23cc0000&date=01/01/1967&datetime-local=01/01/1967&email=sample%40email.tst&file_upload=&month=7&number=1&password=g00dPa%24%24w0rD&range=1&search=&select_dd=1&select_dd2=2&select_multi=1&tel=555-666-0606&test_checkbox_1=on&test_checkbox_2=on&test_checkbox_3=
on&test_checkbox_4=on&test_radio_group=&text=1&text-data=01/01/1967&text_inline=1&text_inline2=1&textarea=../../../../../../../../../../windows/win.ini%00.jpg HTTP/1.1" 403 499 46.101.158.114 "https://default-theme.textpattern.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21"
 "-" "1.24"
5qgQtq - - [13/Jul/2020:10:19:23 +0000] "GET /articles/welcome-to-your-site?color=%23cc0000&date=01/01/1967&datetime-local=01/01/1967&email=sample%40email.tst&file_upload=&month=7&number=1&password=g00dPa%24%24w0rD&range=1&search=&select_dd=1&select_dd2=2&select_multi=1&tel=555-666-0606&test_checkbox_1=on&test_checkbox_2=on&test_checkbox_3=
on&test_checkbox_4=on&test_radio_group=&text=1&text-data=01/01/1967&text_inline=1&text_inline2=1&textarea=%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%afwindows%c0%afwin.ini HTTP/1.1" 403 222 46.101.158.114 "https://default-theme.textpattern.com
/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21" "-" "-"
5qgQtq - - [13/Jul/2020:10:19:23 +0000] "GET /articles/welcome-to-your-site?color=%23cc0000&date=01/01/1967&datetime-local=01/01/1967&email=sample%40email.tst&file_upload=&month=7&number=1&password=g00dPa%24%24w0rD&range=1&search=&select_dd=1&select_dd2=2&select_multi=1&tel=555-666-0606&test_checkbox_1=on&test_checkbox_2=on&test_checkbox_3=
on&test_checkbox_4=on&test_radio_group=&text=1&text-data=01/01/1967&text_inline=1&text_inline2=1&textarea=................windowswin.ini HTTP/1.1" 403 862 46.101.158.114 "https://default-theme.textpattern.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21" "-" "1.28"
5qgQtq - - [13/Jul/2020:10:19:23 +0000] "GET /articles/welcome-to-your-site?color=%23cc0000&date=01/01/1967&datetime-local=01/01/1967&email=sample%40email.tst&file_upload=&month=7&number=1&password=g00dPa%24%24w0rD&range=1&search=&select_dd=1&select_dd2=2&select_multi=1&tel=555-666-0606&test_checkbox_1=on&test_checkbox_2=on&test_checkbox_3=
on&test_checkbox_4=on&test_radio_group=&text=1&text-data=01/01/1967&text_inline=1&text_inline2=1&textarea=..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5cwindows%5cwin.ini HTTP/1.1" 403 667 46.101.158.114 "https://default-theme.textpattern.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/53
7.21" "-" "1.27"
5qgQtq - - [13/Jul/2020:10:19:23 +0000] "GET /articles/welcome-to-your-site?color=%23cc0000&date=01/01/1967&datetime-local=01/01/1967&email=sample%40email.tst&file_upload=&month=7&number=1&password=g00dPa%24%24w0rD&range=1&search=&select_dd=1&select_dd2=2&select_multi=1&tel=555-666-0606&test_checkbox_1=on&test_checkbox_2=on&test_checkbox_3=
on&test_checkbox_4=on&test_radio_group=&text=1&text-data=01/01/1967&text_inline=1&text_inline2=1&textarea=/.%5C%5C./.%5C%5C./.%5C%5C./.%5C%5C./.%5C%5C./.%5C%5C./windows/win.ini HTTP/1.1" 403 325 46.101.158.114 "https://default-theme.textpattern.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.222
8.0 Safari/537.21" "-" "1.23"
5qgQtq - - [13/Jul/2020:10:19:23 +0000] "GET /articles/welcome-to-your-site?color=%23cc0000&date=01/01/1967&datetime-local=01/01/1967&email=sample%40email.tst&file_upload=&month=7&number=1&password=g00dPa%24%24w0rD&range=1&search=&select_dd=1&select_dd2=2&select_multi=1&tel=555-666-0606&test_checkbox_1=on&test_checkbox_2=on&test_checkbox_3=
on&test_checkbox_4=on&test_radio_group=&text=1&text-data=01/01/1967&text_inline=1&text_inline2=1&textarea=../..//../..//../..//../..//../..//../..//../..//../..//windows/win.ini HTTP/1.1" 403 703 46.101.158.114 "https://default-theme.textpattern.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.22
28.0 Safari/537.21" "-" "1.27"
5qgQtq - - [13/Jul/2020:10:19:23 +0000] "GET /articles/welcome-to-your-site?color=%23cc0000&date=01/01/1967&datetime-local=01/01/1967&email=sample%40email.tst&file_upload=&month=7&number=1&password=g00dPa%24%24w0rD&range=1&search=&select_dd=1&select_dd2=2&select_multi=1&tel=555-666-0606&test_checkbox_1=on&test_checkbox_2=on&test_checkbox_3=
on&test_checkbox_4=on&test_radio_group=&text=1&text-data=01/01/1967&text_inline=1&text_inline2=1&textarea=../.../.././../.../.././../.../.././../.../.././../.../.././../.../.././windows/win.ini HTTP/1.1" 403 530 46.101.158.114 "https://default-theme.textpattern.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko
) Chrome/41.0.2228.0 Safari/537.21" "-" "1.22"

Initial mitigations have been put into place, and some more will be implemented soon. I won’t go into detail right now, but I’ll tell you more when it’s done.

Last edited by gaekwad (2020-07-13 11:04:30)

Offline

#2 2020-07-13 10:26:51

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,101
Website GitHub Mastodon Twitter

Re: [RESOLVED] Denial of service attack underway, server load is very high

Hi Pete,

I can connect to all txp sites from here.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2020-07-13 10:36:57

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,296
GitHub

Re: [RESOLVED] Denial of service attack underway, server load is very high

colak wrote #324473:

I can connect to all txp sites from here.

Thanks, Yiannis – the sites didn’t go offline, they were just veeeery sloooow for a short period. I’ve built the scaffolding around Nginx and toughened it up so we shouldn’t have any noticeable effects beyond things being slow when this thing happens, which is very rare thankfully.

My email inbox, however, is a bomb site with many alert emails being triggered!

Offline

#4 2020-07-13 11:13:23

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,478
Website GitHub

Re: [RESOLVED] Denial of service attack underway, server load is very high

gaekwad wrote #324472:

GET /articles/welcome-to-your-site?color=%23cc0000&date=01/01/1967&datetime-local=01/01/1967&email=sample%40email.tst&file_upload=&month=7&number=1&password=g00dPa%24%24w0rD&range=1&search=&select_dd=1&select_dd2=2&select_multi=1&tel=555-666-0606&test_checkbox_1=on&test_checkbox_2=on&test_checkbox_3= on&test_checkbox_4=on&test_radio_group=&text=1&text-data=01/01/1967&text_inline=1&text_inline2=1&textarea=../..//../..//../..//../..//../..//../..//../..//../..//windows/win.ini

I can’t even begin to wonder what the intended destination system that exposes this exploit might be. Running on Windows, with a terrible (presumably default) password like that and trying to fill form fields with the contents of system files.

*shakes head* A complete waste of effort.

Thanks for being on this so fast, Pete.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#5 2020-07-13 11:17:40

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,296
GitHub

Re: [RESOLVED] Denial of service attack underway, server load is very high

Bloke wrote #324477:

I can’t even begin to wonder what the intended destination system that exposes this exploit might be.

I’ve another ~250MB of log files if you want some more bedtime reading!

Offline

#6 2020-07-13 14:53:45

etc
Developer
Registered: 2010-11-11
Posts: 5,257
Website GitHub

Re: [RESOLVED] Denial of service attack underway, server load is very high

Actually, GitHub was 500-ing this morning. I thought of Pete..:-)

Offline

#7 2020-07-13 15:34:39

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,296
GitHub

Re: [RESOLVED] Denial of service attack underway, server load is very high

etc wrote #324484:

Actually, GitHub was 500-ing this morning. I thought of Pete..:-)

I’m almost 100% sure that particular GitHub site-wide 500 and completely unavailable API was probably not my fault. At least not directly, anyway. This time. Ahem.

Offline

#8 2020-07-14 10:28:15

etc
Developer
Registered: 2010-11-11
Posts: 5,257
Website GitHub

Re: [RESOLVED] Denial of service attack underway, server load is very high

gaekwad wrote #324485:

I’m almost 100% sure that particular GitHub site-wide 500 and completely unavailable API was probably not my fault. At least not directly, anyway. This time. Ahem.

Must be NotPete virus then.

Offline

#9 2020-07-14 15:11:20

Algaris
Member
From: England
Registered: 2006-01-27
Posts: 562

Re: [RESOLVED] Denial of service attack underway, server load is very high

What dashboard are you using there Pete?

Offline

#10 2020-07-14 15:36:29

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,296
GitHub

Re: [RESOLVED] Denial of service attack underway, server load is very high

Algaris wrote #324510:

What dashboard are you using there Pete?

Netdata – hands down the best I’ve used so far: github.com/netdata/netdata & www.netdata.cloud

Offline

Board footer

Powered by FluxBB