Trustwave SpiderLabs Security Advisory TWSL2022-002:
Multiple Vulnerabilities in Oracle Communications Session Border Controller (SBC)
Published: 08/23/2022
Version: 1.0
Vendor: Oracle (https://www.oracle.com/)
Product: Oracle Communications Session Border Controller (SBC)
Version affected: SCZ8.4.0 Patch 4 (Build 284)
Product description:
Oracle Communications Session Border Controller (SBC) helps service providers
deliver trusted, carrier-grade, real-time communications such as VoLTE, VoIP,
video conferencing and calling, presence, IM, and IPTV.
Finding 1: Insecure Direct Object Reference
*****Credit: Harold Zang of Trustwave
CVE: CVE-2022-21381
CWE: CWE-863
The Oracle SBC application is vulnerable to an insecure direct object reference
vulnerability. This allows application users to tamper with parameters sent by
the browser to directly retrieve ‘objects’ from the application. Trustwave was
able to modify the parameter’s value to gain unauthorised access to privileged
functionality using a low privileged account.
1. Navigate to the application using a web interception proxy as a low privileged user.
2. Click the "System" button to navigate to the "System Objects" page.
3. Click the "Audit Log" link and intercept the request to the application.
4. Change the "parentKey" parameter value from "AUDITLOGS" to "BOOT".
5. Forward the request.
6. Observe successful listing of the "BOOT" folder.
7. Open a terminal window and submit the following command to download the file.
wget --header='Cookie: activeTabs=1; usersessionid=ValidSessionID' http://DeviceIPAddress/view/BOOT/bootFileName.bz
8. Observe successful download of the file.
***********************************************************
Finding 2: Path Traversal Vulnerability
*****Credit: Harold Zang of Trustwave
CVE: CVE-2022-21382
CWE: CWE-22
The Oracle SBC application allows users to download configuration and log files from the server to their local machine.
However, this functionality is poorly implemented. Trustwave was able to bypass
the restrictions in place to gain write access to write the exported
configuration file on any folder.
1. Download "local-account" configuration file as a low privileged user with a web interception proxy.
2. Click the "Download" button.
3. Observe that a dialogue box pops-up instructing the user to fill in the "Download file name".
4. Submit the following payload as the value and click "Download".
../../boot/trustwave-test.csv
5. Observe that the file has been written into the "boot" folder on the remote server.
***********************************************************
Finding 3: Denial-of-Service Vulnerability
*****Credit: Harold Zang of Trustwave and Jeremy Nunn of Trustwave
CVE: CVE-2022-21383
CWE: CWE-400
Trustwave identified an improper input handling vulnerability which will lead to
the overloading of CPU core utilisation at a hundred percent.
1. Navigate to the application using a web interception proxy as a low privileged user.
2. Leverage the Insufficient Authorisation: Insecure Direct Object Reference vulnerability to navigate to the "Log" page.
3. Choose a log file and click "download".
4. Intercept the request and change the "parentKey" parameter value from "LOGS" to "crash" and change the "clientfilename" parameter value from "acct.log" to "etc".
5. Observe that the request has Timed-out and one of the CPU core’s utilisation increased to 100%.
6. Send a standard log download request again.
7. Observe that the device is not able to execute the request.
Remediation Steps:
Apply the January 2022 CPU or the latest updates.
Revision History:
07/08/2021 - Initial email to vendor
01/18/2022 - Vendor releases patches in January 2022 CPU
08/23/2022 - Advisory published
About Trustwave:
Trustwave helps businesses fight cybercrime, protect data and reduce security
risk. With cloud and managed security services, integrated technologies and a
team of security experts, ethical hackers and researchers, Trustwave enables
businesses to transform the way they manage their information security and
compliance programs. More than three million businesses are enrolled in the
Trustwave TrustKeeper® cloud platform, through which Trustwave delivers
automated, efficient and cost-effective threat, vulnerability and compliance
management. Trustwave is headquartered in Chicago, with customers in 96
countries. For more information about Trustwave, visit
https://www.trustwave.com.
About Trustwave SpiderLabs:
SpiderLabs(R) is the advanced security team at Trustwave focused on
application security, incident response, penetration testing, physical
security and security research. The team has performed over a thousand
incident investigations, thousands of penetration tests and hundreds of
application security tests globally. In addition, the SpiderLabs Research
team provides intelligence through bleeding-edge research and proof of
concept tool development to enhance Trustwave's products and services.
https://www.trustwave.com/spiderlabs
Disclaimer:
The information provided in this advisory is provided "as is" without
warranty of any kind. Trustwave disclaims all warranties, either express or
implied, including the warranties of merchantability and fitness for a
particular purpose. In no event shall Trustwave or its suppliers be liable
for any damages whatsoever including direct, indirect, incidental,
consequential, loss of business profits or special damages, even if
Trustwave or its suppliers have been advised of the possibility of such
damages. Some states do not allow the exclusion or limitation of liability
for consequential or incidental damages so the foregoing limitation may not
apply.