7.8
HIGH
CVE-2024-1880
MacOS Text-To-Speech Command Injection Vulnerability
Description

An OS command injection vulnerability exists in the MacOS Text-To-Speech class MacOSTTS of the significant-gravitas/autogpt project, affecting versions up to v0.5.0. The vulnerability arises from the improper neutralization of special elements used in an OS command within the `_speech` method of the MacOSTTS class. Specifically, the use of `os.system` to execute the `say` command with user-supplied text allows for arbitrary code execution if an attacker can inject shell commands. This issue is triggered when the AutoGPT instance is run with the `--speak` option enabled and configured with `TEXT_TO_SPEECH_PROVIDER=macos`, reflecting back a shell injection snippet. The impact of this vulnerability is the potential execution of arbitrary code on the instance running AutoGPT. The issue was addressed in version 5.1.0.

INFO

Published Date :

June 6, 2024, 7:15 p.m.

Last Modified :

Nov. 21, 2024, 8:51 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2024-1880 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 Agpt autogpt
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-2024-1880.

URL Resource
https://github.com/significant-gravitas/autogpt/commit/26324f29849967fa72c207da929af612f1740669 Patch
https://huntr.com/bounties/4e742624-8771-4f3c-9634-3eaf33d6d58e Exploit Issue Tracking Patch Third Party Advisory
https://github.com/significant-gravitas/autogpt/commit/26324f29849967fa72c207da929af612f1740669 Patch
https://huntr.com/bounties/4e742624-8771-4f3c-9634-3eaf33d6d58e Exploit Issue Tracking Patch Third Party 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-2024-1880 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-1880 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://github.com/significant-gravitas/autogpt/commit/26324f29849967fa72c207da929af612f1740669
    Added Reference https://huntr.com/bounties/4e742624-8771-4f3c-9634-3eaf33d6d58e
  • Initial Analysis by [email protected]

    Oct. 11, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/significant-gravitas/autogpt/commit/26324f29849967fa72c207da929af612f1740669 No Types Assigned https://github.com/significant-gravitas/autogpt/commit/26324f29849967fa72c207da929af612f1740669 Patch
    Changed Reference Type https://huntr.com/bounties/4e742624-8771-4f3c-9634-3eaf33d6d58e No Types Assigned https://huntr.com/bounties/4e742624-8771-4f3c-9634-3eaf33d6d58e Exploit, Issue Tracking, Patch, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:agpt:autogpt:*:*:*:*:*:*:*:* versions up to (excluding) 0.5.1
  • CVE Received by [email protected]

    Jun. 06, 2024

    Action Type Old Value New Value
    Added Description An OS command injection vulnerability exists in the MacOS Text-To-Speech class MacOSTTS of the significant-gravitas/autogpt project, affecting versions up to v0.5.0. The vulnerability arises from the improper neutralization of special elements used in an OS command within the `_speech` method of the MacOSTTS class. Specifically, the use of `os.system` to execute the `say` command with user-supplied text allows for arbitrary code execution if an attacker can inject shell commands. This issue is triggered when the AutoGPT instance is run with the `--speak` option enabled and configured with `TEXT_TO_SPEECH_PROVIDER=macos`, reflecting back a shell injection snippet. The impact of this vulnerability is the potential execution of arbitrary code on the instance running AutoGPT. The issue was addressed in version 5.1.0.
    Added Reference huntr.dev https://huntr.com/bounties/4e742624-8771-4f3c-9634-3eaf33d6d58e [No types assigned]
    Added Reference huntr.dev https://github.com/significant-gravitas/autogpt/commit/26324f29849967fa72c207da929af612f1740669 [No types assigned]
    Added CWE huntr.dev CWE-78
    Added CVSS V3 huntr.dev AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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-1880 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

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