Vulnerability Details : CVE-2020-26277
DBdeployer is a tool that deploys MySQL database servers easily. In DBdeployer before version 1.58.2, users unpacking a tarball may use a maliciously packaged tarball that contains symlinks to files external to the target. In such scenario, an attacker could induce dbdeployer to write into a system file, thus altering the computer defenses. For the attack to succeed, the following factors need to contribute: 1) The user is logged in as root. While dbdeployer is usable as root, it was designed to run as unprivileged user. 2) The user has taken a tarball from a non secure source, without testing the checksum. When the tarball is retrieved through dbdeployer, the checksum is compared before attempting to unpack. This has been fixed in version 1.58.2.
Products affected by CVE-2020-26277
- cpe:2.3:a:dbdeployer:dbdeployer:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-26277
0.06%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 26 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-26277
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.0
|
MEDIUM | AV:N/AC:H/Au:N/C:N/I:P/A:P |
4.9
|
4.9
|
NIST | |
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N |
1.6
|
4.0
|
NIST | |
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N |
1.6
|
4.0
|
GitHub, Inc. |
CWE ids for CVE-2020-26277
-
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.Assigned by: security-advisories@github.com (Primary)
References for CVE-2020-26277
-
https://github.com/datacharmer/dbdeployer/commit/548e256c1de2f99746e861454e7714ec6bc9bb10
Prevent arbitrary symlinks from tarballs · datacharmer/dbdeployer@548e256 · GitHubPatch;Third Party Advisory
-
https://github.com/datacharmer/dbdeployer/security/advisories/GHSA-47wr-426j-fr82
Symbolic links in an unpacking routine may enable attackers to read and/or write to arbitrary locations · Advisory · datacharmer/dbdeployer · GitHubThird Party Advisory
Jump to