SecurityContext

CVE-2017-3160: Cordova-Android - Man-in-the-Middle

  • Cve: CVE-2017-3160
  • Name: Cordova-Android - Man-in-the-Middle
  • Description: After the Android platform is added to Cordova the first time, or after a project is created using the build scripts, the scripts will fetch Gradle on the first build. However, since the default URI is not using https, it is vulnerable to a MiTM and the Gradle executable is not safe. The severity of this issue is high due to the fact that the build scripts immediately start a build after Gradle has been fetched. Developers who are concerned about this issue should install version 6.1.2 or higher of Cordova-Android. If developers are unable to install the latest version, this vulnerability can easily be mitigated by setting the CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL environment variable to https://services.gradle.org/distributions/gradle-2.14.1-all.zip
  • Impact: Attackers can intercept and modify the Gradle download, potentially injecting malicious code into the build process.
  • Remediation: Update to version 6.1.2 or higher of Cordova-Android, or set CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL environment variable to a secure HTTPS URL.
  • Vulnerability type: man_in_the_middle
  • Vulnerability impact: man_in_the_middle
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.4
  • Cvss vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.03753
  • Epss percentile: 0.90162
  • Assignee: [email protected]
  • Published at: 2018-02-01T21:29:00Z
  • Age in days: 3218
  • Modified at: 2026-06-17T01:17:38Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-3160
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
NVD-CWE-noinfo—

References

Same in every row:

  • Source: nvd
UrlTags
https://cordova.apache.org/announcements/2017/01/27/android-612.htmlMitigation, Vendor Advisory
http://www.securityfocus.com/bid/95838Third Party Advisory, VDB Entry
https://www.oracle.com/security-alerts/cpuapr2020.html

Products

ProductAffectedPlatform boundSourcesUrl
apache:cordova< 6.1.2nonvd/v1/products/apache/cordova

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts