4.9
MEDIUM
CVE-2023-28837
Wagtail Admin Image and Document Upload Denial of Service Vulnerability
Description

Wagtail is an open source content management system built on Django. Prior to versions 4.1.4 and 4.2.2, a memory exhaustion bug exists in Wagtail's handling of uploaded images and documents. For both images and documents, files are loaded into memory during upload for additional processing. A user with access to upload images or documents through the Wagtail admin interface could upload a file so large that it results in a crash of denial of service. The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin. It can only be exploited by admin users with permission to upload images or documents. Image uploads are restricted to 10MB by default, however this validation only happens on the frontend and on the backend after the vulnerable code. Patched versions have been released as Wagtail 4.1.4 and Wagtail 4.2.2). Site owners who are unable to upgrade to the new versions are encouraged to add extra protections outside of Wagtail to limit the size of uploaded files.

INFO

Published Date :

April 3, 2023, 5:15 p.m.

Last Modified :

Nov. 21, 2024, 7:56 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

1.2
Affected Products

The following products are affected by CVE-2023-28837 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Torchbox wagtail
1 Wagtail wagtail
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-28837.

URL Resource
https://docs.wagtail.org/en/stable/reference/settings.html#wagtailimages-max-upload-size Product
https://github.com/wagtail/wagtail/commit/3c0c64642b9e5b8d28b111263c7f4bddad6c3880 Patch
https://github.com/wagtail/wagtail/commit/c9d2fcd650a88d76ae122646142245e5927a9165 Release Notes
https://github.com/wagtail/wagtail/commit/cfa11bbe00dbe7ce8cd4c0bbfe2a898a690df2bf Patch
https://github.com/wagtail/wagtail/commit/d4022310cbe497993459c3136311467c7ac6329a Release Notes
https://github.com/wagtail/wagtail/releases/tag/v4.1.4 Release Notes
https://github.com/wagtail/wagtail/releases/tag/v4.2.2 Release Notes
https://github.com/wagtail/wagtail/security/advisories/GHSA-33pv-vcgh-jfg9 Mitigation Vendor Advisory
https://docs.wagtail.org/en/stable/reference/settings.html#wagtailimages-max-upload-size Product
https://github.com/wagtail/wagtail/commit/3c0c64642b9e5b8d28b111263c7f4bddad6c3880 Patch
https://github.com/wagtail/wagtail/commit/c9d2fcd650a88d76ae122646142245e5927a9165 Release Notes
https://github.com/wagtail/wagtail/commit/cfa11bbe00dbe7ce8cd4c0bbfe2a898a690df2bf Patch
https://github.com/wagtail/wagtail/commit/d4022310cbe497993459c3136311467c7ac6329a Release Notes
https://github.com/wagtail/wagtail/releases/tag/v4.1.4 Release Notes
https://github.com/wagtail/wagtail/releases/tag/v4.2.2 Release Notes
https://github.com/wagtail/wagtail/security/advisories/GHSA-33pv-vcgh-jfg9 Mitigation Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-28837 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-28837 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://docs.wagtail.org/en/stable/reference/settings.html#wagtailimages-max-upload-size
    Added Reference https://github.com/wagtail/wagtail/commit/3c0c64642b9e5b8d28b111263c7f4bddad6c3880
    Added Reference https://github.com/wagtail/wagtail/commit/c9d2fcd650a88d76ae122646142245e5927a9165
    Added Reference https://github.com/wagtail/wagtail/commit/cfa11bbe00dbe7ce8cd4c0bbfe2a898a690df2bf
    Added Reference https://github.com/wagtail/wagtail/commit/d4022310cbe497993459c3136311467c7ac6329a
    Added Reference https://github.com/wagtail/wagtail/releases/tag/v4.1.4
    Added Reference https://github.com/wagtail/wagtail/releases/tag/v4.2.2
    Added Reference https://github.com/wagtail/wagtail/security/advisories/GHSA-33pv-vcgh-jfg9
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Changed Description Wagtail is an open source content management system built on Django. Prior to versions 4.1.4 and 4.2.2, a memory exhaustion bug exists in Wagtail's handling of uploaded images and documents. For both images and documents, files are loaded into memory during upload for additional processing. A user with access to upload images or documents through the Wagtail admin interface could upload a file so large that it results in a crash of denial of service. The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin. It can only be exploited by admin users with permission to upload images or documents. Image uploads are restricted to 10MB by default, however this validation only happens on the frontend and on the backend after the vulnerable code. Patched versions have been released as Wagtail 4.1.4 and Wagtail 4.2.2). Site owners who are unable to upgrade to the new versions are encouraged to add extra protections outside of Wagtail to limit the size of uploaded files. Wagtail is an open source content management system built on Django. Prior to versions 4.1.4 and 4.2.2, a memory exhaustion bug exists in Wagtail's handling of uploaded images and documents. For both images and documents, files are loaded into memory during upload for additional processing. A user with access to upload images or documents through the Wagtail admin interface could upload a file so large that it results in a crash of denial of service. The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin. It can only be exploited by admin users with permission to upload images or documents. Image uploads are restricted to 10MB by default, however this validation only happens on the frontend and on the backend after the vulnerable code. Patched versions have been released as Wagtail 4.1.4 and Wagtail 4.2.2). Site owners who are unable to upgrade to the new versions are encouraged to add extra protections outside of Wagtail to limit the size of uploaded files.
  • Initial Analysis by [email protected]

    Apr. 12, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://docs.wagtail.org/en/stable/reference/settings.html#wagtailimages-max-upload-size No Types Assigned https://docs.wagtail.org/en/stable/reference/settings.html#wagtailimages-max-upload-size Product
    Changed Reference Type https://github.com/wagtail/wagtail/commit/3c0c64642b9e5b8d28b111263c7f4bddad6c3880 No Types Assigned https://github.com/wagtail/wagtail/commit/3c0c64642b9e5b8d28b111263c7f4bddad6c3880 Patch
    Changed Reference Type https://github.com/wagtail/wagtail/commit/c9d2fcd650a88d76ae122646142245e5927a9165 No Types Assigned https://github.com/wagtail/wagtail/commit/c9d2fcd650a88d76ae122646142245e5927a9165 Release Notes
    Changed Reference Type https://github.com/wagtail/wagtail/commit/cfa11bbe00dbe7ce8cd4c0bbfe2a898a690df2bf No Types Assigned https://github.com/wagtail/wagtail/commit/cfa11bbe00dbe7ce8cd4c0bbfe2a898a690df2bf Patch
    Changed Reference Type https://github.com/wagtail/wagtail/commit/d4022310cbe497993459c3136311467c7ac6329a No Types Assigned https://github.com/wagtail/wagtail/commit/d4022310cbe497993459c3136311467c7ac6329a Release Notes
    Changed Reference Type https://github.com/wagtail/wagtail/releases/tag/v4.1.4 No Types Assigned https://github.com/wagtail/wagtail/releases/tag/v4.1.4 Release Notes
    Changed Reference Type https://github.com/wagtail/wagtail/releases/tag/v4.2.2 No Types Assigned https://github.com/wagtail/wagtail/releases/tag/v4.2.2 Release Notes
    Changed Reference Type https://github.com/wagtail/wagtail/security/advisories/GHSA-33pv-vcgh-jfg9 No Types Assigned https://github.com/wagtail/wagtail/security/advisories/GHSA-33pv-vcgh-jfg9 Mitigation, Vendor Advisory
    Added CPE Configuration OR *cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:* versions up to (excluding) 4.1.4 *cpe:2.3:a:torchbox:wagtail:*:*:*:*:*:*:*:* versions from (including) 4.2 up to (excluding) 4.2.2
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-28837 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.41 }} 0.08%

score

0.73528

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability