CVE-2012-4396
Multiple cross-site scripting (XSS) vulnerabilities in ownCloud before 4.0.2 allow remote attackers to inject arbitrary web script or…
Check your servers for CVE-2012-4396
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2012-4396 affects a package, with the command that installs the fix. The free plan covers one server and does not need a credit card.
Description
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.
Exploitation
EPSS 2.48%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 85.3% of all scored CVEs. Scores of 26 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2012-4396 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2012-4396RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2012-4396Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2012-4396
trivy image --scanners vuln IMAGE | grep CVE-2012-4396
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- https://github.com/owncloud/core/commit/f8337c9d723039760eecccf68bcb02752551e254 github.com
- https://github.com/owncloud/core/commit/8f616ecf76aac4a8b554fbf5a90b1645d0f25438 github.com
- https://github.com/owncloud/core/commit/8f09299e2468dfc4f9ec72b05acf47de3ef9d1d7 github.com
- https://github.com/owncloud/core/commit/e817504569dce49fd7a677fa510e500394af0c48 github.com
- https://github.com/owncloud/core/commit/d294373f476c795aaee7dc2444e7edfdea01a606 github.com
- https://github.com/owncloud/core/commit/642e7ce110cb8c320072532c29abe003385d50f5 github.com
- https://github.com/owncloud/core/commit/cc653a8a408adfb4d0cd532145668aacd85ad96c github.com
- https://github.com/owncloud/core/commit/f955f6a6857754826af8903475688ba54f72c1bb github.com
- https://github.com/owncloud/core/commit/44260a552cd4ee50ee11eee45164c725f56f7027 github.com
Other references
- [oss-security] 20120810 ownCloud - matching CVEs to fix information and vice versa openwall.com · mailing list
- [oss-security] 20120901 Re: CVE - ownCloud openwall.com · mailing list
Source: the record CVE-2012-4396 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse