If you've ever tried to pentest a GWT-RPC application using only Burp Suite's built-in tools, you know the pain. The pipe-separated payload format (7|0|29|https://target/app/|HASH|com.example.MyService|myMethod|...) is hard to read, harder to modify, and nearly impossible to fuzz efficiently without spending more time wrestling with the tool than actually testing the application.
That's exactly why I built GWT-RPC Tools - a Burp Suite extension designed specifically for GWT-RPC penetration testing. Here we go...
Google Web Toolkit (GWT) is a Java framework that compiles server-side Java code into JavaScript. Its RPC mechanism uses a proprietary wire format - a pipe-delimited string that encodes service names, method names, and serialized Java objects. While this format is not secret, it's not exactly human-friendly either.
A typical GWT-RPC request body looks like this:
7|0|6|https://target.host/app/|CBD5863E00106E51EF201A6FB50BC22C|
com.example.UserService|getUser|java.lang.String/2004016611|1|alice|
Working with this manually in Burp's native Repeater or Intruder is tedious. GWT-RPC Tools was built to fix that.
What the Extension Does
The extension adds a "GWT-RPC" tab to Burp Suite with four sub-tabs, each covering a specific phase of a GWT-RPC pentest.
1. Proxy Tab
A filtered view of all GWT-RPC traffic passing through Burp Proxy. Only requests with Content-Type: text/x-gwt-rpc are captured, giving you a clean, focused history without noise from other application traffic. From here you can send any request directly to the Intruder or Repeater tabs with a single click - or right-click any request in Burp's native Proxy History and use the context menu.
2. Repeater Tab
A GWT-RPC-aware request editor. It works like Burp's native Repeater, but adds one key feature: it parses the GWT-RPC payload into individual pipe-separated fields displayed in an editable table. You modify a field value, click "Apply Fields → Request", and the extension rebuilds the raw payload with correct Content-Length automatically. No manual counting, no copy-paste errors. Each sent request is added to a history table for easy comparison.
Typical use case: testing IDOR - change a user ID in field #22, send, observe response.
3. Intruder Tab
A Sniper-mode fuzzer with native GWT-RPC field awareness. After parsing the payload, you can mark one or multiple fields as payload positions (highlighted in yellow). The extension then iterates through your wordlist, substituting each payload into the marked field(s), sending the request, and recording status code and response length in a results table.
Each attack runs in a separate window with its own thread - you can send multiple requests to the Intruder and run several attacks simultaneously without waiting for one to finish.
Typical use case: fuzzing Action subtypes to discover admin methods accessible without proper authorization.
4. Analyzer Tab
This is where it gets interesting. The Analyzer has two sections:
RPC Map (live) automatically builds a map of all GWT-RPC services and methods observed in real traffic as you browse the application. For each discovered endpoint it records: service FQN, method name, parameter types (with GWT serialization hashes), host, URL, and call count. From this map you can send real captured requests or generated skeletons directly to Repeater or Intruder.
Cache.js Parser fetches and analyzes *.cache.js files - the compiled GWT application bundles served to the browser. These files contain the entire client-side application logic and, depending on the level of obfuscation, can reveal:
- Full Java class names and package structure
- RPC service interfaces and their relative URLs
- Method signatures with parameter types
- Serializable type definitions with GWT hashes (the "type whitelist")
The parser automatically detects whether the file is obfuscated or not and applies the appropriate extraction strategy. Results are presented across five sub-tabs: Report, Services, Methods, Types, Endpoints, and Beautified JS. Everything can be exported to file - the full analysis report, or just the type list as a wordlist ready for Intruder.
One practical detail: browsers aggressively cache *.cache.js files. The extension handles this by stripping If-None-Match and If-Modified-Since headers from requests to these files, forcing the server to return a full 200 response. If the file is still served from cache, you can load it manually from disk using the "Load from file" button.
Pentest Value - What Can You Actually Find?
The extension is a reconnaissance and exploitation tool. Here's how it maps to real findings:
Information Disclosure (Low-Medium)
The *.cache.js file is publicly accessible and reveals internal Java class names, method names, and application architecture. While not exploitable on its own, it significantly reduces the time needed to map the attack surface of a GWT-RPC application.
Missing Function Level Access Control (High-Critical)
This is the most valuable finding the tool enables. Using the Cache.js Parser or RPC Map you can discover methods that are never exposed through the application's UI - administrative functions, internal APIs, batch operations. Testing these in Repeater with a low-privilege session token often reveals that server-side authorization checks are missing or incomplete.
IDOR - Insecure Direct Object Reference (Medium-High)
GWT-RPC methods frequently accept object identifiers as parameters. With the payload parsed into individual editable fields, testing IDOR becomes straightforward - modify the ID field, resend, compare responses.
Type Confusion / Deserialization Issues
GWT validates serialized type hashes server-side, but applications built on top of GWT sometimes implement custom deserialization logic that doesn't. The exported type wordlist from Cache.js Parser gives you a ready-made list of valid types to substitute in Intruder fuzzing sessions.
Technical Details
- Language: Java 21
- API: Burp Suite Montoya API
- Build: Maven (mvn clean package)
- Tested on: Burp Suite Professional
The extension registers both HttpHandler and ProxyRequestHandler/ProxyResponseHandler to capture traffic at the proxy level, ensuring all browser traffic is visible - not just traffic sent through Burp's own tools.
Final Thoughts
GWT-RPC is not a common technology in 2026, but it's far from extinct - particularly in enterprise healthcare, finance, and logistics applications built in the 2010s and still running in production. These applications often have large attack surfaces that are difficult to explore without purpose-built tooling.
GWT-RPC Tools won't replace manual testing judgment, but it removes most of the mechanical friction from GWT-RPC pentests - letting you spend your time on actual vulnerability analysis rather than fighting with payload formats.
The extension is available as a compiled JAR or can be built from source. If you're doing GWT-RPC pentests and want to give it a try, feel free to reach out.
Happy hacking!
*(Development of this tools is still in progress so it will be released "soon" and "for request only")







Brak komentarzy:
Prześlij komentarz