CVE-2021-41163
CRITICALDiscourse - Remote Code Execution via Unvalidated subscribe_url
Title source: manualExploitation Summary
EIP tracks 2 public exploits for CVE-2021-41163. PoCs published by ibrahmsql.
AI-analyzed exploit summary This is a functional exploit PoC for CVE-2021-41163, targeting Discourse's theme import functionality to achieve remote code execution. The exploit crafts a malicious theme ZIP file with JavaScript, CSS, and template injection payloads, then uploads it via an authenticated admin session.
Description
Discourse is an open source platform for community discussion. In affected versions maliciously crafted requests could lead to remote code execution. This resulted from a lack of validation in subscribe_url values. This issue is patched in the latest stable, beta and tests-passed versions of Discourse. To workaround the issue without updating, requests with a path starting /webhooks/aws path could be blocked at an upstream proxy.
Exploits (2)
This is a functional exploit PoC for CVE-2021-41163, targeting Discourse's theme import functionality to achieve remote code execution. The exploit crafts a malicious theme ZIP file with JavaScript, CSS, and template injection payloads, then uploads it via an authenticated admin session.
This is a functional exploit PoC for CVE-2021-41163, targeting Discourse's theme import functionality to achieve remote code execution. It includes multiple payload types (JavaScript, CSS, Handlebars, etc.) and attempts privilege escalation if admin access is not initially available.
References (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H