CVE-2024-4879 ServiceNow Improper Input Validation

Exploited in the wild Critical 9.3 Published Updated

Unauthenticated attackers can remotely execute code via template injection in ServiceNow UI Macros, requiring immediate patching.

Exploited in the wild
Since 29 Jul 2024
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-4879?

CVE-2024-4879 is a critical code injection vulnerability in ServiceNow Now Platform, published on 10 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-1287

Which versions are affected by CVE-2024-4879?

It affects 1 product.

Products include Servicenow Servicenow.

How do I fix CVE-2024-4879?

No fix has been published for CVE-2024-4879 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 19 Aug 2024.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-4879 being exploited?

Yes. Attackers have exploited CVE-2024-4879 in the wild since at least 29 Jul 2024.

Public exploit code: 1 Exploit-DB entry, 1 Nuclei template and 8 proofs of concept on GitHub.

Sources

Also known as GHSA-355h-wpr8-m2qx.

Is CVE-2024-4879 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free