CVE-2012-4396
Description
ownCloud before 4.0.2 contains multiple cross-site scripting vulnerabilities via various parameters, allowing remote attackers to inject arbitrary web script or HTML.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
ownCloud before 4.0.2 contains multiple cross-site scripting vulnerabilities via various parameters, allowing remote attackers to inject arbitrary web script or HTML.
Vulnerability
Multiple cross-site scripting (XSS) vulnerabilities exist in ownCloud versions prior to 4.0.2. The issues affect several components: the apps/user_ldap/settings.php endpoint via file names; the bookmarks app via the url and title parameters in ajax/editBookmark.php and the tag and page parameters in ajax/updateList.php; the OpenID app via the identity parameter in settings.php; the gallery app via stack names in lib/tiles.php and the root parameter in templates/index.php; the calendar app via display names in part.import.php, calendar URIs in part.choosecalendar.rowfields.php, and the title, location, and description parameters in lib/object.php; the core js/multiselect.js file; and the media app via the artist, album, and title comments parameters in lib_scanner.php [1][2].
Exploitation
An attacker can exploit these vulnerabilities by crafting malicious input (such as a filename, URL, or parameter value) containing JavaScript or HTML. When a user accesses the affected ownCloud page, the malicious code executes in the context of the victim's browser. No authentication is required for exploitation; the attacker simply needs to lure a user to interact with a crafted link or upload a malicious file. The commits [3][4] show the specific input sanitization added to fix these issues.
Impact
Successful exploitation allows the attacker to execute arbitrary web script or HTML in the victim's browser, leading to potential data theft, session hijacking, or defacement. This could compromise the confidentiality and integrity of the ownCloud instance and its data.
Mitigation
The vulnerability is fixed in ownCloud version 4.0.2, released on 2012-09-05 [1]. Users should upgrade to this version immediately. The fix involves sanitizing user input in the affected files, as demonstrated in the commits [3][4]. No workarounds are available; upgrading is the recommended action.
AI Insight generated on May 23, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
7cpe:2.3:a:owncloud:owncloud_server:3.0.0:*:*:*:*:*:*:*+ 4 more
- cpe:2.3:a:owncloud:owncloud_server:3.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:owncloud:owncloud_server:3.0.1:*:*:*:*:*:*:*
- cpe:2.3:a:owncloud:owncloud_server:3.0.2:*:*:*:*:*:*:*
- cpe:2.3:a:owncloud:owncloud_server:3.0.3:*:*:*:*:*:*:*
- cpe:2.3:a:owncloud:owncloud_server:4.0.0:*:*:*:*:*:*:*
Patches
98f616ecf76aa8f09299e2468642e7ce110cbf955f6a68577f8337c9d7230e817504569dcd294373f476ccc653a8a408a44260a552cd4Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
11- github.com/owncloud/core/commit/642e7ce110cb8c320072532c29abe003385d50f5nvdPatch
- github.com/owncloud/core/commit/44260a552cd4ee50ee11eee45164c725f56f7027nvdExploitPatch
- github.com/owncloud/core/commit/8f09299e2468dfc4f9ec72b05acf47de3ef9d1d7nvdExploitPatch
- github.com/owncloud/core/commit/8f616ecf76aac4a8b554fbf5a90b1645d0f25438nvdExploitPatch
- github.com/owncloud/core/commit/cc653a8a408adfb4d0cd532145668aacd85ad96cnvdExploitPatch
- github.com/owncloud/core/commit/d294373f476c795aaee7dc2444e7edfdea01a606nvdExploitPatch
- github.com/owncloud/core/commit/e817504569dce49fd7a677fa510e500394af0c48nvdExploitPatch
- github.com/owncloud/core/commit/f8337c9d723039760eecccf68bcb02752551e254nvdExploitPatch
- github.com/owncloud/core/commit/f955f6a6857754826af8903475688ba54f72c1bbnvdExploitPatch
- www.openwall.com/lists/oss-security/2012/08/11/1nvd
- www.openwall.com/lists/oss-security/2012/09/02/2nvd
News mentions
0No linked articles in our index yet.