CVE-2024-3400: PAN-OS Command Injection Vulnerability in GlobalProtect Gateway. Learn More

CVE-2024-3400: PAN-OS Command Injection Vulnerability in GlobalProtect Gateway. 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
Offensive Security
Solutions to maximize your security ROI
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

Citrix ADC/Netscaler - CVE-2019-19781

The Citrix vulnerability (CVE-2019-19781) was first identified in December of 2019.  This vulnerability is a directory traversal attack that can lead to remote code execution.  So far two directory traversals are needed to execute commands.  One is in the URI and the other is with the NSC_USER: field in the HTTP Header.

The directory traversal allows access to the newbm.pl script.  Through this script, commands can be injected into a new XML file pointed at by the NSC_USER field.  After the commands have been successfully written, a simple GET request to the XML file will execute the commands.

Many proof of concept scripts are available as well as scanners to check and see if your system is vulnerable.  As with many vulnerabilities that affect thousands of systems, we are seeing Crypto Miners taking advantage of it first.

IOCs:

Network:

POST Request with /vpn/../vpns/ and newbm.pl
NSC_USER with ../ in the Header
GET request after the above POST with /vpn/../vpns/ and an .xml file
Request to /vpn/../vpns/cfg/smb.conf  (likely a scanner)

 

File Type: Shell Script

SHA256:
ff3c0cb8d31360699ec56f1b9f11aa86cb69649ac2f747cdd3b7893b04861f75

SHA1:
301c03b4f943757e1e275ffce13029d53c0f4053

MD5:
0e431d0d9e0fc371c163e4de5226c50b

 

File Type: ELF

SHA256:
20343854b8c348146bf17fe739ce9028a620f93116438291f1b0b89345e18520feccc

SHA1:
fecccb8a7274992fb76426457bb8a8cc76637d46

MD5:
08f76eb3d62d53bff131d2cb0af2773d

Below is a list of affected devices and the dates that Citrix expects to have a patch ready.  There’s also a link to receive a notification once the patch is available.

 

Affected Devices:

The vulnerability affects all supported product versions and all supported platforms:

  • Citrix ADC and Citrix Gateway version 13.0 all supported builds
  • Citrix ADC and NetScaler Gateway version 12.1 all supported builds
  • Citrix ADC and NetScaler Gateway version 12.0 all supported builds
  • Citrix ADC and NetScaler Gateway version 11.1 all supported builds
  • Citrix NetScaler ADC and NetScaler Gateway version 10.5 all supported builds 

Version

Refresh Build

Expected Release Date

10.5

10.5.70.x

31st January 2020

11.1

11.1.63.x

20th January 2020

12.0

12.0.63.x

20th January 2020

12.1

12.1.55.x

27th January 2020

13.0

13.0.47.x

27th January 2020

 

Mitigation Steps:
https://support.citrix.com/article/CTX267679

Bulletin Alerts:
https://support.citrix.com/user/alerts

Latest SpiderLabs Blogs

Fake Dialog Boxes to Make Malware More Convincing

Let’s explore how SpiderLabs created and incorporated user prompts, specifically Windows dialog boxes into its malware loader to make it more convincing to phishing targets during a Red Team...

Read More

The Secret Cipher: Modern Data Loss Prevention Solutions

This is Part 7 in my ongoing project to cover 30 cybersecurity topics in 30 weekly blog posts. The full series can be found here. Far too many organizations place Data Loss Prevention (DLP) and Data...

Read More

CVE-2024-3400: PAN-OS Command Injection Vulnerability in GlobalProtect Gateway

UPDATE: Palo Alto Networks confirmed on Tuesday (4/16) that disabling device telemetry is no longer considered an effective mitigation. On Wednesday (4/17), the company released new threat signatures...

Read More