{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-6091","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","state":"PUBLISHED","assignerShortName":"@huntr_ai","dateReserved":"2024-06-17T18:16:47.500Z","datePublished":"2024-09-11T12:49:07.293Z","dateUpdated":"2024-09-11T18:23:23.728Z"},"containers":{"cna":{"title":"Shell Command Denylist Bypass in significant-gravitas/autogpt","providerMetadata":{"orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","shortName":"@huntr_ai","dateUpdated":"2024-09-11T12:49:07.293Z"},"descriptions":[{"lang":"en","value":"A vulnerability in significant-gravitas/autogpt version 0.5.1 allows an attacker to bypass the shell commands denylist settings. The issue arises when the denylist is configured to block specific commands, such as 'whoami' and '/bin/whoami'. An attacker can circumvent this restriction by executing commands with a modified path, such as '/bin/./whoami', which is not recognized by the denylist."}],"affected":[{"vendor":"significant-gravitas","product":"significant-gravitas/autogpt","versions":[{"version":"unspecified","lessThan":"0.5.1","status":"affected","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/8a742c13-bb5e-4bc9-8b86-049d8a386050"},{"url":"https://github.com/significant-gravitas/autogpt/commit/ef691359b774a1f9f80cf4f5ace9821967b718ed"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL"}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command","cweId":"CWE-78"}]}],"source":{"advisory":"8a742c13-bb5e-4bc9-8b86-049d8a386050","discovery":"EXTERNAL"}},"adp":[{"affected":[{"vendor":"significant-gravitas","product":"autogpt","cpes":["cpe:2.3:a:significant-gravitas:autogpt:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"0.5.1","versionType":"custom"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-11T18:22:48.647499Z","id":"CVE-2024-6091","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-09-11T18:23:23.728Z"}}]}}