Skip to content
Path traversal Write-up Intermediate

Incident Analysis & Response: Check Point Security Gateway CVE-20

An attacker exploited CVE-2024-24919, an arbitrary file read vulnerability in a Check Point Security Gateway, using path traversal to read /etc/passwd. A follow-up attempt to read /etc/shadow was blocked with a 403 response.

Ben Rubin Follow

Published on medium.com

As an Incident Response (IR) analyst, encountering vulnerabilities in perimeter security devices demands rapid, methodical triage. In this incident case study, we analyze an exploitation attempt against a Check Point Security Gateway via CVE-2024–24919, an Arbitrary File Read vulnerability that was exploited in the…

Ben Rubin (Zedocun), on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a path traversal flaw in the Check Point Security Gateway that allowed crafted requests to read files outside the intended web directory.

Impact

The attacker could read system files such as /etc/passwd, exposing user account information, but the attempt to read /etc/shadow was blocked and no command execution or lateral movement was observed.

What the attacker needed

Network access to the gateway; unpatched Check Point Security Gateway

The fix

The gateway should be patched with the official vendor hotfix for CVE-2024-24919 and the attacker IPs blocked.

How it was found

  1. Send a crafted POST request with path traversal sequences to the gateway.
  2. The request reads /etc/passwd and returns a 200 OK response with 1256 bytes.
  3. A subsequent attempt from a related IP to read /etc/shadow is blocked with 403 Forbidden.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A security gateway is a device that protects a network. A file read flaw let an outsider trick the device into showing a system file that lists user accounts, though not their passwords. A second attempt to read the password file was blocked.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.