SecurityContext

CVE-2012-4389: ownCloud - Remote Code Execution

  • Cve: CVE-2012-4389
  • Name: ownCloud - Remote Code Execution
  • Description: Incomplete blacklist vulnerability in lib/migrate.php in ownCloud before 4.0.7 allows remote attackers to execute arbitrary code by uploading a crafted .htaccess file in an import.zip file and accessing an uploaded PHP file.
  • Impact: Attackers can execute arbitrary code on the server, leading to full system compromise.
  • Remediation: Update to version 4.0.7 or later.
  • Vulnerability type: unrestricted_file_upload
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.8
  • Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
  • Epss score: 0.03286
  • Epss percentile: 0.88784
  • Assignee: [email protected]
  • Published at: 2012-09-05T23:55:02Z
  • Age in days: 5193
  • Modified at: 2026-06-16T23:44:55Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-4389
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
NVD-CWE-Other—

Public exploits

UrlSourceAdded date
https://github.com/owncloud/core/commit/4fd069b47906ebcf83887970c732d464dbe7d37anvd2012-09-05

References

UrlSourceTags
https://github.com/owncloud/core/commit/4fd069b47906ebcf83887970c732d464dbe7d37anvdExploit, Patch
http://www.openwall.com/lists/oss-security/2012/09/02/2nvd

Products

ProductAffectedPlatform boundSourcesUrl
owncloud:owncloud<= 4.0.6nonvd/v1/products/owncloud/owncloud
owncloud:owncloud_server= 4.0.5, = 4.0.4, = 4.0.3, = 4.0.2, = 4.0.1, = 4.0.0, = 3.0.3, = 3.0.2, = 3.0.1, = 3.0.0nonvd/v1/products/owncloud/owncloud_server

Projects

RepositoryLink kindsIndexedUrl
owncloud/corecommityes/v1/repositories/owncloud/core

Index

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

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2012-09-05
  • Remote: yes
  • Exposed hosts: 17353
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports