Love thy scripture – XXE

Categories
Injection, pentest, WAAS, Web Attacks, webdev

XXE (Extensible Markup Language External Entity) is a common type of injection which occurs in applications that fail to sanitize XML input; This is particularly common with web services.  The XML input in a webservice can be considered as a description of data so that two systems can have a common language to communicate with […]

Credential Harvesting on paranoid browsers

Categories
pentest, Web Attacks, webdev

Credential harvesting is one of the most common methods used in social engineering attacks when phishing. A sample can be viewed here. Some things about the cloner in social engineering toolkit: It doesn’t download assets i.e. images, css, javascript files The page cloned needs to be always reachable I will be testing this on chrome […]

Automating web exploits using metasploit – 3

Categories
Injection, Web Attacks, webdev

In the previous article we built the check method and all went well; now the last bit is build the exploit method and clean up. Exploit method Moving right into the code, I will explain the important parts that may be relatively new ; Line 52 helps us generate the payload Line 53 helps us give […]

Automating web exploits using metasploit – 2

Categories
Injection, Web Attacks, webdev

In the previous article we covered the initialize method. So moving on to the juice stuff the check and exploit methods. Enter Check Method The check method is simple. we have already declared all we need to use so now lets put everything into good use. Similar to our previous python based exploit ; we […]

Automating web exploits using metasploit

Categories
Injection, Web Attacks, webdev

Today I want to go through something even I have been struggling with for a while ; creating PoC’s is a good thing but creating actionable exploits for frameworks like metasploit was really something else; takes a lot more discipline. Why would we do this? well interactive shells are everyone’s joy. PS: yes I had […]

WordPress Plugin Membership Simplified v1.58 – Arbitrary File Download

Categories
LFI, Uncategorized, Web Attacks, webdev

Today we will discuss poor development practices in wordpress plugins with key focus WordPress Plugin Membership Simplified v1.58 which as of the time of this writing the script is not patched . The vulnerable script is as below: Meta data: Discovery : Larry W Cashdollar  WPVDB ID : 8777 CVE-ID :  CVE-2017-1002008 Dork Standard stuff […]

Mobile App Native

Categories
Injection, Uncategorized, Web Attacks, webdev

Today I release a simple exploit as a PoC for the 5 advisories. These were discovered by Larry W Cashdollar. The exploit takes on the following phases: It checks that the plugin exists. If it does it generates a webshell and uploads it to the server. The plugin renames shells to an md5 hash; The PoC […]

WordPress Hardening (Using Plugins)

Categories
Uncategorized, Web Attacks, webdev

WordPress is favoured because of its use of plugins. Initially we have covered to articles that would guide in manually hardening wordpress through htaccess and patching the theme but it doesn’t always have to be the case, non tech users would prefer doing the hardening via plugins. Some very nice plugins to do hardening include: […]

WordPress Hardening (htaccess)

Categories
Uncategorized, Web Attacks, webdev

WordPress is among the most widely used CMS in the world. This popularity has also lead to a number of  issues within wordpress. We will look at how to harden wordpress using four elements , together or either one depending on level of hardening required. The 4 methods include: Hardening via htaccess Hardening via patching the theme […]