ghsa-g3p2-hfqr-9m25
Vulnerability from github
Published
2021-11-23 17:54
Modified
2023-06-30 20:31
Severity ?
VLAI Severity ?
Summary
Improper file handling in concrete5/core
Details
A bypass of adding remote files in Concrete CMS (previously concrete5) File Manager leads to remote code execution in Concrete CMS (concrete5) versions 8.5.6 and below. The external file upload feature stages files in the public directory even if they have disallowed file extensions. They are stored in a directory with a random name, but it's possible to stall the uploads and brute force the directory name. You have to be an admin with the ability to upload files, but this bug gives you the ability to upload restricted file types and execute them depending on server configuration. To fix this, a check for allowed file extensions was added before downloading files to a tmp directory
{ "affected": [ { "package": { "ecosystem": "Packagist", "name": "concrete5/core" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "8.5.7" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2021-22968" ], "database_specific": { "cwe_ids": [ "CWE-330", "CWE-98" ], "github_reviewed": true, "github_reviewed_at": "2021-11-22T19:41:50Z", "nvd_published_at": "2021-11-19T19:15:00Z", "severity": "HIGH" }, "details": "A bypass of adding remote files in Concrete CMS (previously concrete5) File Manager leads to remote code execution in Concrete CMS (concrete5) versions 8.5.6 and below. The external file upload feature stages files in the public directory even if they have disallowed file extensions. They are stored in a directory with a random name, but it\u0027s possible to stall the uploads and brute force the directory name. You have to be an admin with the ability to upload files, but this bug gives you the ability to upload restricted file types and execute them depending on server configuration. To fix this, a check for allowed file extensions was added before downloading files to a tmp directory", "id": "GHSA-g3p2-hfqr-9m25", "modified": "2023-06-30T20:31:40Z", "published": "2021-11-23T17:54:26Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-22968" }, { "type": "WEB", "url": "https://hackerone.com/reports/1350444" }, { "type": "WEB", "url": "https://documentation.concretecms.org/developers/introduction/version-history/857-release-notes" }, { "type": "PACKAGE", "url": "https://github.com/olsgreen/concrete5-core" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" } ], "summary": "Improper file handling in concrete5/core" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…