CVE-2024-5217 ServiceNow Incomplete List of Disallowed Inputs

Exploited in the wild Critical 9.2 Published Updated

Unauthenticated attackers can remotely execute code in ServiceNow Now Platform due to incomplete input validation in GlideExpression Script.

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-5217?

CVE-2024-5217 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 the Washington DC, Vancouver, and earlier Now Platform releases. This vulnerability could enable an unauthenticated user to remotely execute code within the context of the Now Platform. The vulnerability is addressed in the listed patches and hot fixes below, which were released during the June 2024 patching cycle. If you have not done so already, we recommend applying security patches relevant to your instance as soon as possible.

Weakness: CWE-697, CWE-184

Which versions are affected by CVE-2024-5217?

It affects 1 product.

Products include Servicenow Servicenow.

How do I fix CVE-2024-5217?

No fix has been published for CVE-2024-5217 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-5217 being exploited?

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

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-5xx6-pf4v-cpf2.

Is CVE-2024-5217 in your software?

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

Check your SBOMs for free