Cyber Resilience

CVE-2024-46538

MediumPublic PoC

Published: 22 October 2024

Published
22 October 2024
Modified
30 October 2024
KEV Added
Patch
CVSS Score v3.1 4.8 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
EPSS Score 0.8365 99.3th percentile
Risk Priority 60 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-46538 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Netgate Pfsense. Its CVSS base score is 4.8 (Medium).

Operationally, ranked in the top 0.7% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis

CVE-2024-46538 is a stored cross-site scripting vulnerability in pfSense version 2.5.2. The flaw resides in the interfaces_groups_edit.php page, where unsanitized input supplied to the $pconfig variable is later rendered without proper encoding, allowing arbitrary HTML or JavaScript to be injected into the administrative web interface.

An authenticated administrator can exploit the issue by submitting a crafted payload that is stored and subsequently executed in the browsers of other users who view the affected page. Successful exploitation yields the ability to perform actions within the pfSense web GUI under the context of the victim account, such as modifying interface group settings or exfiltrating session data, though the attack requires high privileges and user interaction.

The EPSS score for this vulnerability stands at 0.8365 with no material increase from a lower baseline after disclosure. Public references include a detailed technical write-up on GitHub and the corresponding pfSense Redmine issue tracker entry.

EU & UK References

Vulnerability details

A cross-site scripting (XSS) vulnerability in pfsense v2.5.2 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the $pconfig variable at interfaces_groups_edit.php.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

netgate
pfsense
2.5.2

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-79

Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.

addresses: CWE-79

Validates web inputs to reject script-related content that could produce XSS.

addresses: CWE-79

Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.

References