Keyboard shortcuts

Press ← or β†’ to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

🏠 Back to Blog

Attacking Common Applications

Directory map

ColdFusion

CGI Applications

WordPress

Drupal

Joomla

Splunk

Tomcat

Jenkins

Thick Client Applications

LDAP

IIS (Internet Information Services)

PRTG Network Monitor

Summary

Attacking common applications begins with a structured discovery phase before any exploitation is attempted. Nmap sweeps the scope list for common web ports (80, 443, 8000, 8080, 8180, 8888, 10000) using --open -oA to produce XML output that downstream tools can consume directly. A follow-up service version scan (-sV) fingerprints what is actually running β€” frequently revealing Splunk, PRTG, Tomcat, or other management interfaces on non-standard ports that are easily missed.

EyeWitness (eyewitness --web -x web_discovery.xml) and Aquatone (cat web_discovery.xml | ./aquatone -nmap) both accept Nmap XML and produce HTML screenshot reports, grouping targets into categories such as β€œHigh Value Targets.” These reports rapidly surface default-credential login pages (Tomcat Manager, Splunk, PRTG) and default install pages that confirm software versions without manual browsing across dozens of hosts.

When interpreting results, prioritize applications with known default credentials or recent CVEs: Tomcat Manager enables WAR-based RCE, Splunk’s search engine can execute server-side scripts, PRTG has authenticated RCE vulnerabilities in older versions (CVE-2018-9276), and osTicket can leak internal employee/email data useful for phishing. Findings should be tracked in a hierarchical note structure (host β†’ application β†’ credentials β†’ exploitation path) throughout the engagement to support the final report.

PRTG Network Monitor deserves special attention in internal assessments β€” it’s frequently encountered in monitored network infrastructure, has a well-known authenticated command injection (CVE-2018-9276 < v18.2.39), and default credentials (prtgadmin:prtgadmin) are often unchanged. Successful exploitation yields SYSTEM-level code execution with built-in persistence through scheduled notifications, plus access to credentials stored for monitored infrastructure enabling further lateral movement.

IIS tilde enumeration leverages the Windows 8.3 short file name format to discover hidden directories and files on IIS 7.5 and earlier. The IIS-ShortName-Scanner tool automates the character-by-character HTTP probing, and Gobuster resolves identified short names (e.g., TRANSF~1.ASP) to their full filenames using a prefix-filtered wordlist.

LDAP injection exploits web applications that delegate authentication to LDAP without sanitising input. Injecting the wildcard character * into username or password fields can cause the underlying LDAP query to match any directory entry, bypassing authentication entirely. Anonymous ldapsearch queries against exposed port 389 can also enumerate users and organizational structure without credentials.