In pkg/tool/path.go in Gogs before 0.11.82.1218, a directory traversal in the file-upload functionality can allow an attacker to create a file under data/sessions on the server, a similar issue to CVE-2018-18925.
References
Link | Resource |
---|---|
https://github.com/gogs/gogs/commit/ff93d9dbda5cebe90d86e4b7dfb2c6b8642970ce | Patch Third Party Advisory |
https://github.com/gogs/gogs/issues/5558 | Issue Tracking Patch Third Party Advisory |
https://pentesterlab.com/exercises/cve-2018-18925/ | Exploit Third Party Advisory |
https://github.com/gogs/gogs/commit/ff93d9dbda5cebe90d86e4b7dfb2c6b8642970ce | Patch Third Party Advisory |
https://github.com/gogs/gogs/issues/5558 | Issue Tracking Patch Third Party Advisory |
https://pentesterlab.com/exercises/cve-2018-18925/ | Exploit Third Party Advisory |
Configurations
History
21 Nov 2024, 04:01
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/gogs/gogs/commit/ff93d9dbda5cebe90d86e4b7dfb2c6b8642970ce - Patch, Third Party Advisory | |
References | () https://github.com/gogs/gogs/issues/5558 - Issue Tracking, Patch, Third Party Advisory | |
References | () https://pentesterlab.com/exercises/cve-2018-18925/ - Exploit, Third Party Advisory |
Information
Published : 2018-12-20 00:29
Updated : 2024-11-21 04:01
NVD link : CVE-2018-20303
Mitre link : CVE-2018-20303
CVE.ORG link : CVE-2018-20303
JSON object : View
Products Affected
gogs
- gogs
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')