Publish Advisories

GHSA-5f5c-8rvc-j8wf
GHSA-fg86-4c2r-7wxw
This commit is contained in:
advisory-database[bot]
2024-07-15 17:50:24 +00:00
parent 1144b70d79
commit a058c6645a
2 changed files with 138 additions and 0 deletions
File diff suppressed because one or more lines are too long
@@ -0,0 +1,69 @@
{
"schema_version": "1.4.0",
"id": "GHSA-fg86-4c2r-7wxw",
"modified": "2024-07-15T17:48:26Z",
"published": "2024-07-15T17:48:26Z",
"aliases": [
"CVE-2024-40624"
],
"summary": "TorrentPier Deserialization of Untrusted Data vulnerability",
"details": "### Summary\n\nIn `torrentpier/library/includes/functions.php`, `get_tracks()` uses the unsafe native PHP serialization format to deserialize user-controlled cookies:\n\nhttps://github.com/torrentpier/torrentpier/blob/84f6c9f4a081d9ffff4c233098758280304bf50f/library/includes/functions.php#L41-L60\n\n### PoC\n\nOne can use [`phpggc`](https://github.com/ambionics/phpggc/) and the chain `Guzzle/FW1` to write PHP code to an arbitrary file, and execute commands on the system. For instance, the cookie `bb_t` will be deserialized when browsing to `viewforum.php`.\n",
"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": "Packagist",
"name": "torrentpier/torrentpier"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"last_affected": "2.4.3"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/torrentpier/torrentpier/security/advisories/GHSA-fg86-4c2r-7wxw"
},
{
"type": "WEB",
"url": "https://github.com/torrentpier/torrentpier/commit/ed37e6e522f345f2b46147c6f53c1ab6dec1db9e"
},
{
"type": "PACKAGE",
"url": "https://github.com/torrentpier/torrentpier"
},
{
"type": "WEB",
"url": "https://github.com/torrentpier/torrentpier/blob/84f6c9f4a081d9ffff4c233098758280304bf50f/library/includes/functions.php#L41-L60"
}
],
"database_specific": {
"cwe_ids": [
"CWE-502"
],
"severity": "CRITICAL",
"github_reviewed": true,
"github_reviewed_at": "2024-07-15T17:48:26Z",
"nvd_published_at": null
}
}