CVE-2024-12471 File upload in Post Saint: ChatGPT, GPT4, DALL-E, Stable Diffusion, Pexels, Dezgo AI Text & Image Generator

High 8.8 Published Updated

Authenticated subscribers can upload arbitrary files via missing authorization checks, enabling remote code execution on WordPress sites using this plugin.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-12471?

CVE-2024-12471 is a high-severity vulnerability in postsaint Post Saint: ChatGPT, GPT4, DALL-E, Stable Diffusion, Pexels, Dezgo AI Text & Image Generator, published on 7 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Post Saint: ChatGPT, GPT4, DALL-E, Stable Diffusion, Pexels, Dezgo AI Text & Image Generator plugin for WordPress is vulnerable to arbitrary files uploads due to a missing capability check and file type validation on the add_image_to_library AJAX action function in all versions up to, and including, 1.3.1. This makes it possible for authenticated attackers, with subscriber-level access and above, to upload arbitrary files that make remote code execution possible.

Weakness: CWE-94

Which versions are affected by CVE-2024-12471?

How do I fix CVE-2024-12471?

No fix has been published for CVE-2024-12471 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-12471 being exploited?

There is no known exploitation of CVE-2024-12471 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-3gcj-473g-7xhq.

Is CVE-2024-12471 in your software?

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

Check your SBOMs for free