#VU65868 Deserialization of Untrusted Data in Discourse


Published: 2022-07-28

Vulnerability identifier: #VU65868

Vulnerability risk: Medium

CVSSv3.1: 6.3 [CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-32224

CWE-ID: CWE-502

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Discourse
Web applications / Forum & blogging software

Vendor: Civilized Discourse Construction Kit, Inc.

Description

The vulnerability allows a remote user to execute arbitrary code on the target system.

The vulnerability exists due to insecure input validation when processing serialized data in columns in active records. A remote privileged user write access to the database (e.g. via the restore pipeline) can create a specially crafted column and execute arbitrary code on the system during backup restoration.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Discourse: 2.0.0 - 2.9.0 beta6


External links
http://github.com/discourse/discourse/security/advisories/GHSA-5v84-cg7p-ghvx


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated privileged user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability