Attacking Common Applications
Directory map
ColdFusion
CGI Applications
WordPress
Drupal
Joomla
Splunk
Tomcat
- Tomcat β discovery & enumeration, Manager access, WAR deployment, default credentials, CGI RCE
- Discovery & Enumeration β fingerprinting via /docs, directory structure, default credentials, Manager enumeration, common entry points
- Attacking Tomcat β credential brute force (Metasploit, Python, cURL), WAR upload RCE, web shell hygiene, CVE-2020-1938 Ghostcat
- Tomcat CGI β CVE-2019-0232 β enableCmdLineArguments RCE, ffuf CGI discovery, URL-encoded command injection (Windows)
Jenkins
Thick Client Applications
- Thick Client Applications β discovery, enumeration, reverse engineering, hardcoded credentials, DLL hijacking
- Discovery & Enumeration β application identification, metadata extraction, dependency analysis, static analysis, configuration discovery
- Attacking Thick Client Applications β hardcoded credentials extraction, static/dynamic analysis, case study, DLL hijacking, insecure storage exploitation, GDB/PEDA & dnSpy connection-string extraction
- Exploiting Web Vulnerabilities β SQL injection, path traversal, JAR modification, signature bypass, three-tier architecture attacks
LDAP
- LDAP β protocol overview, use cases, LDAP vs AD, ldapsearch, LDAP injection, authentication bypass
IIS (Internet Information Services)
PRTG Network Monitor
- PRTG Network Monitor β discovery & enumeration, CVE-2018-9276 command injection, default credentials, persistence
- Overview β background, key facts, vulnerabilities, prevalence in assessments
- Discovery & Enumeration β network discovery, service fingerprinting, version detection, default credentials
- Exploitation β CVE-2018-9276 authenticated command injection, step-by-step walkthrough, payload crafting
- Post-Exploitation β reverse shells, persistence mechanisms, scheduled tasks, lateral movement, log cleanup
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.