PoC Monitor
← All CVEs
CVE-2024-4879published 10 Jul 2024 16:16 UTCData: JSON · API

ServiceNow Now Platform

Jelly Template Injection Vulnerability in ServiceNow UI Macros

ServiceNow has addressed an input validation vulnerability that was identified in Vancouver and Washington DC Now Platform releases. This vulnerability could enable an unauthenticated user to remotely execute code within the context of the Now Platform. ServiceNow applied an update to hosted instances, and ServiceNow released the update to our partners and self-hosted customers. Listed below are the patches and hot fixes that address the vulnerability. If you have not done so already, we recommend applying security patches relevant to your instance as soon as possible.

First public PoC 18 hafter publication · 11 Jul 2024 · nuclei template
Public PoCs1210 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CNA · CWE-1287
CISA KEV 29 Jul 202419 days after publication

Timeline

Days relative to CVE publication
-3t=0+3+6+9+12+15+18CVE published10 Jul 2024 · t = 0First public PoC11 Jul 2024 · t+18hAdded to CISA KEV29 Jul 2024 · t+19d

First public PoC 18 h after publication; added to CISA KEV 19 days after publication. First PoC: nuclei template: ServiceNow UI Macros - Template Injection (nuclei template, 11 Jul 2024).

PoC repositories

Found on GitHub.

10 PoCs · 2 pending · 1 informational

PoCs 10
RepositoryCreatedStarsAssessment
Brut-Security/CVE-2024-4879 12 Jul 2024 +1.8 d 26 PoC
bigb0x/CVE-2024-4879 12 Jul 2024 +1.9 d 10 PoC
Mr-r00t11/CVE-2024-4879 12 Jul 2024 +2.2 d 4 PoC
GraySignal/CVE-2024-4879-ServiceNow 16 Jul 2024 +5.5 d 1 PoC
Praison001/CVE-2024-4879-ServiceNow 16 Jul 2024 +5.5 d 1 PoC
NoTsPepino/CVE-2024-4879-CVE-2024-5217-ServiceNow-RCE-Scanning 28 Jul 2024 +18 d 4 Scanner
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

jdusane/CVE-2024-4879 14 Aug 2024 +35 d 0 PoC
fa-rrel/CVE-2024-4879 27 Aug 2024 +47 d 4 PoC
gh-ost00/CVE-2024-4879 27 Aug 2024 +47 d 4 PoC
0xWhoami35/CVE-2024-4879 13 Sep 2024 +64 d 0 PoC
Pending 2
RepositoryCreatedStarsAssessment
ShadowByte1/CVE-2024-4879 unknown 0 Pending · repository unavailable (HTTP 404)
zgimszhd61/CVE-2024-4879 unknown 0 Pending · repository unavailable (HTTP 404)
Informational 1
RepositoryCreatedStarsAssessment
tequilasunsh1ne/CVE_2024_4879 15 Jul 2024 +4.4 d 0 Informational · write-up

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 10 PoC repos

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /login.do
(?i)^/login\.do\?(?:.*&)?jvar_page_title=

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /login.do
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2024-4879 ServiceNow Now Platform exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/login.do"; http.uri; content:"jvar_page_title="; reference:url,poc.griffinguard.io/cve/CVE-2024-4879; classtype:web-application-attack; sid:9406516; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /login.do
title: ServiceNow Now Platform exploit attempt (CVE-2024-4879)
id: gg-pocmon-cve-2024-4879-9406516
status: experimental
description: Request pattern taken from public PoCs for CVE-2024-4879. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2024-4879
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/login.do'
    cs-uri-query|contains|all:
      - 'jvar_page_title='
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2024.4879