9.8
CRITICAL
CVE-2024-39331
Emacs Org Mode Stored Cross-Site Scripting (XSS)
Description

In Emacs before 29.4, org-link-expand-abbrev in lisp/ol.el expands a %(...) link abbrev even when it specifies an unsafe function, such as shell-command-to-string. This affects Org Mode before 9.7.5.

INFO

Published Date :

June 23, 2024, 10:15 p.m.

Last Modified :

Nov. 21, 2024, 9:27 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2024-39331 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 Gnu emacs

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-2024-39331 vulnerability anywhere in the article.

  • tripwire.com
VERT Threat Alert: August 2024 Patch Tuesday Analysis

Today’s VERT Alert addresses Microsoft’s August 2024 Security Updates. VERT is actively working on coverage for these vulnerabilities and expects to ship ASPL-1119 as soon as coverage is completed.CVE ... Read more

Published Date: Aug 13, 2024 (4 months, 1 week ago)

The following table lists the changes that have been made to the CVE-2024-39331 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://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-29
    Added Reference https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f4cc61636947b5c2f0afc67174dd369fe3277aa8
    Added Reference https://list.orgmode.org/87sex5gdqc.fsf%40localhost/
    Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00023.html
    Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00024.html
    Added Reference https://lists.gnu.org/archive/html/info-gnu-emacs/2024-06/msg00000.html
    Added Reference https://news.ycombinator.com/item?id=40768225
    Added Reference https://www.openwall.com/lists/oss-security/2024/06/23/1
    Added Reference https://www.openwall.com/lists/oss-security/2024/06/23/2
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jul. 03, 2024

    Action Type Old Value New Value
    Added CWE CISA-ADP CWE-94
    Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • CVE Modified by [email protected]

    Jun. 29, 2024

    Action Type Old Value New Value
    Added Reference MITRE https://lists.debian.org/debian-lts-announce/2024/06/msg00023.html [No types assigned]
    Added Reference MITRE https://lists.debian.org/debian-lts-announce/2024/06/msg00024.html [No types assigned]
  • CVE Received by [email protected]

    Jun. 23, 2024

    Action Type Old Value New Value
    Added Description In Emacs before 29.4, org-link-expand-abbrev in lisp/ol.el expands a %(...) link abbrev even when it specifies an unsafe function, such as shell-command-to-string. This affects Org Mode before 9.7.5.
    Added Reference MITRE https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-29 [No types assigned]
    Added Reference MITRE https://list.orgmode.org/87sex5gdqc.fsf%40localhost/ [No types assigned]
    Added Reference MITRE https://lists.gnu.org/archive/html/info-gnu-emacs/2024-06/msg00000.html [No types assigned]
    Added Reference MITRE https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f4cc61636947b5c2f0afc67174dd369fe3277aa8 [No types assigned]
    Added Reference MITRE https://www.openwall.com/lists/oss-security/2024/06/23/1 [No types assigned]
    Added Reference MITRE https://www.openwall.com/lists/oss-security/2024/06/23/2 [No types assigned]
    Added Reference MITRE https://news.ycombinator.com/item?id=40768225 [No types assigned]
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-2024-39331 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-39331 weaknesses.

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