GitHub Advisoryadvisory · Go

GHSA-6452-jr93-r5qm b3log Wide unauthenticated file access

HIGH Published 2022-05-24 Modified 2023-08-25 Official page ↗
Aliases
CVE-2019-13915
Ecosystem
Go
Packages
github.com/b3log/wide
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-59, CWE-74
Reviewed
2023-07-14

Affected packages

• Go github.com/b3log/wide: < 1.6.0 → fixed in 1.6.0

Description

b3log Wide before 1.6.0 allows three types of attacks to access arbitrary files. First, the attacker can write code in the editor, and compile and run it approximately three times to read an arbitrary file. Second, the attacker can create a symlink, and then place the symlink into a ZIP archive. An unzip operation leads to read access, and write access (depending on file permissions), to the symlink target. Third, the attacker can import a Git repository that contains a symlink, similarly leading to read and write access.

Related

Alias · CVE (1)

  • CVE-2019-13915 b3log Wide before 1.6.0 allows three types of attacks to access arbitrary files. vulnerability

Weakness · CWE (2)

  • CWE-59 Improper Link Resolution Before File Access weakness
  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness

References