Author Topic: WordPress website with insecurity and IDS alert...  (Read 1342 times)

0 Members and 1 Guest are viewing this topic.

Offline polonus

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 33891
  • malware fighter
WordPress website with insecurity and IDS alert...
« on: May 20, 2018, 10:50:42 PM »
Re: https://urlquery.net/report/f97ca54d-1f6b-4430-ab97-bb985447e38e
Suricata Emering Threats IDS alert - ET POLICY HTTP Request to a *.tk domain

Plug-ins: The following plugins were detected by reading the HTML source of the WordPress sites front page.

seos-contact-form   latest release (1.7)
http://seosthemes.com/seos-contact-form/
count-per-day 3.5.7   latest release (3.5.7)
http://www.tomsdimension.de/wp-plugins/count-per-day
wordpress-seo 7.5.1   latest release (7.5.1)
https://yoa.st/1uj
jetpack 6.1   latest release (6.1)
https://jetpack.com
simple-download-monitor 3.6.3   latest release (3.6.3)
https://www.tipsandtricks-hq.com/simple-wordpress-download-monitor-plugin
Plugins are a source of many security vulnerabilities within WordPress installations, always keep them updated to the latest version available and check the developers plugin page for information about security related updates and fixes.

The theme has been found by examining the path /wp-content/themes/ *theme name* /

Awaken 2.1.7http://themezhut.com/themes/awaken
While plugins get a lot of attention when it comes to security vulnerabilities, themes are another source of security vulnerabilities within WordPress installations, always keep them updated to the latest version available and check the developers theme page for information about security related updates and fixes.

The theme listed here is the active theme found in the HTML source of the page. A comprehensive assessment should include checking for other themes that are installed but not active as these can also contain exploitable security vulnerabilities. In a "black box" assessment or penetration test detection of all themes can be undertaken by brute forcing the theme paths . Remove all unused themes to minimise the attack surface of the WordPress installation.

Warning  User Enumeration is possible

The first two user ID's were tested to determine if user enumeration is possible.

ID   User   Login
1   None   legaltorrents
2   None   None
It is recommended to rename the admin user account to reduce the chance of brute force attacks occurring. As this will reduce the chance of automated password attackers gaining access. However it is important to understand that if the author archives are enabled it is usually possible to enumerate all users within a WordPress installation.

2 vulnerable jQuery libraries found: https://retire.insecurity.today/#!/scan/35a023018bf587049bf51ac8bfe51790aa0b146a344c6ed9d5f16def7a6b0b91

Security Issues: Security

no-protocol-relative-urls: 15 errors
x-content-type-options: 32 errors
strict-transport-security: 34 errors
disown-opener: 2 errors
no-disallowed-headers: 27 errors
sri: 30 errors
no-vulnerable-javascript-libraries: 1 error Snyk detected 1 less that retire dot insecurity scan.
ssllabs: 1 warning

error ->
Quote
[decodingLevel=0] found JavaScript
     error: line:47: SyntaxError: invalid label:
          error: line:47: ;{"@context":"https:\/\/schema.org","@type":"WebSite","@id":"#website","url":"https:\/\/legal-torrents.tk\/","name":"Legal Torrents","potentialAction":{"@type":"SearchAction","target":"https:\/\/legal-torrents.tk\/?s={string}","query-input":"r
          error: line:47: ..^
     error: line:3: SyntaxError: missing = in XML attribute:
          error: line:3: <!DOCTYPE html>
          error: line:3: ..............^ 
suspicious: maxruntime exceeded 10 seconds (incomplete) 0 bytes
Quote
line:8: Spin.js not present & -legal-torrents.tk/wp-content/plugins/jetpack/_inc/build/photon/photon.min.js?ver=20130122 ->undefined variable jQuery
     error: undefined function t 

See also https://observatory.mozilla.org/analyze/legal-torrents.tk with a F-grade security status and recommendations.

Also consider -> -https://www.shodan.io/host/89.163.224.33  for -ms031.moonshot.servdiscount-customer.com
(just for the security aware, not for the non-secure-savvy, pol). In that case, checked here: https://icurerrors.com/report/ms031.moonshot.servdiscount-customer.com - Error! The website does not use the OG (Open Graph) protocol. Dublin Core is not used.

polonus (volunteer website security analyst and website error-hunter)
« Last Edit: May 20, 2018, 11:12:33 PM by polonus »
Cybersecurity is more of an attitude than anything else. Avast Evangelists.

Use NoScript, a limited user account and a virtual machine and be safe(r)!

Offline polonus

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 33891
  • malware fighter
Re: WordPress website with insecurity and IDS alert...
« Reply #1 on: May 21, 2018, 11:58:23 PM »
Word Press websites, Drupal websites and Magento websites all hve a PHP based CMS.

For basic PHP error hunting use this guide: https://getkirby.com/docs/cookbook/debugging-basics

Specially meant for volunteer website security analysts and website error-hunters like little old me,
but I say to website developers and webadmins and the like, enjoy this also, my good friends, enjoy,

polonus
Cybersecurity is more of an attitude than anything else. Avast Evangelists.

Use NoScript, a limited user account and a virtual machine and be safe(r)!

Offline polonus

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 33891
  • malware fighter
Re: WordPress website with insecurity and IDS alert...
« Reply #2 on: May 22, 2018, 11:41:05 AM »
More general guidelines for improved website security can be found here:
In regard to what we are checking here,
look particularly for the Web Security Cheat Sheet at given address.

https://infosec.mozilla.org/guidelines/web_security.html

but even infosec dot mozilla dot org  site has cache-control
and content-security policy not implemented
as proposed via known "best policies"  ;) (info taken from a Recx Security Analyser scan).

polonus (volunteer website security analyst and website error-hunter)

Cybersecurity is more of an attitude than anything else. Avast Evangelists.

Use NoScript, a limited user account and a virtual machine and be safe(r)!