CVE-2012-4396
What it is
Multiple cross-site scripting (XSS) vulnerabilities in ownCloud before 4.0.2 allow remote attackers to inject arbitrary web script or HTML via the (1) file names to apps/user_ldap/settings.php; (2) url or (3) title parameter to apps/bookmarks/ajax/editBookmark.php; (4) tag or (5) page parameter to apps/bookmarks/ajax/updateList.php; (6) identity to apps/user_openid/settings.php; (7) stack name in apps/gallery/lib/tiles.php; (8) root parameter to apps/gallery/templates/index.php; (9) calendar displayname in apps/calendar/templates/part.import.php; (10) calendar uri in apps/calendar/templates/part.choosecalendar.rowfields.php; (11) title, (12) location, or (13) description parameter in apps/calendar/lib/object.php; (14) certain vectors in core/js/multiselect.js; or (15) artist, (16) album, or (17) title comments parameter in apps/media/lib_scanner.php.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 2.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.5% in the next 30 days (EPSS).
- Severity: 4.3 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.5% · EPSS, next 30 days
- Weakness
- CWE-79 · Cross-site scripting
- Record status
- Modified
Affected
- Owncloud ≤ 4.0.1
- Owncloud Server 3.0.0
- Owncloud Server 3.0.1
- Owncloud Server 3.0.2
- Owncloud Server 3.0.3
- Owncloud Server 4.0.0
Attack profile CVSS 2.0 · 4.3
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
Raw vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-4396.md and follow it. Check whether this project is affected by CVE-2012-4396. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/owncloud/core/commit/44260a552cd4ee50ee11eee45164c725f56f7027
- https://github.com/owncloud/core/commit/642e7ce110cb8c320072532c29abe003385d50f5
- https://github.com/owncloud/core/commit/8f09299e2468dfc4f9ec72b05acf47de3ef9d1d7
- https://github.com/owncloud/core/commit/8f616ecf76aac4a8b554fbf5a90b1645d0f25438
- https://github.com/owncloud/core/commit/cc653a8a408adfb4d0cd532145668aacd85ad96c
- https://github.com/owncloud/core/commit/d294373f476c795aaee7dc2444e7edfdea01a606
- https://github.com/owncloud/core/commit/e817504569dce49fd7a677fa510e500394af0c48
- https://github.com/owncloud/core/commit/f8337c9d723039760eecccf68bcb02752551e254
- https://github.com/owncloud/core/commit/f955f6a6857754826af8903475688ba54f72c1bb
- https://github.com/owncloud/core/commit/44260a552cd4ee50ee11eee45164c725f56f7027
References
- http://www.openwall.com/lists/oss-security/2012/08/11/1
- http://www.openwall.com/lists/oss-security/2012/09/02/2
- https://github.com/owncloud/core/commit/44260a552cd4ee50ee11eee45164c725f56f7027
- https://github.com/owncloud/core/commit/642e7ce110cb8c320072532c29abe003385d50f5
- https://github.com/owncloud/core/commit/8f09299e2468dfc4f9ec72b05acf47de3ef9d1d7
- https://github.com/owncloud/core/commit/8f616ecf76aac4a8b554fbf5a90b1645d0f25438
- https://github.com/owncloud/core/commit/cc653a8a408adfb4d0cd532145668aacd85ad96c
- https://github.com/owncloud/core/commit/d294373f476c795aaee7dc2444e7edfdea01a606
- https://github.com/owncloud/core/commit/e817504569dce49fd7a677fa510e500394af0c48
- https://github.com/owncloud/core/commit/f8337c9d723039760eecccf68bcb02752551e254
- https://github.com/owncloud/core/commit/f955f6a6857754826af8903475688ba54f72c1bb
- http://www.openwall.com/lists/oss-security/2012/08/11/1
- http://www.openwall.com/lists/oss-security/2012/09/02/2
- https://github.com/owncloud/core/commit/44260a552cd4ee50ee11eee45164c725f56f7027
- https://github.com/owncloud/core/commit/642e7ce110cb8c320072532c29abe003385d50f5
- https://github.com/owncloud/core/commit/8f09299e2468dfc4f9ec72b05acf47de3ef9d1d7
- https://github.com/owncloud/core/commit/8f616ecf76aac4a8b554fbf5a90b1645d0f25438
- https://github.com/owncloud/core/commit/cc653a8a408adfb4d0cd532145668aacd85ad96c
- https://github.com/owncloud/core/commit/d294373f476c795aaee7dc2444e7edfdea01a606
- https://github.com/owncloud/core/commit/e817504569dce49fd7a677fa510e500394af0c48
- https://github.com/owncloud/core/commit/f8337c9d723039760eecccf68bcb02752551e254
- https://github.com/owncloud/core/commit/f955f6a6857754826af8903475688ba54f72c1bb