CVE-2012-5849
Multiple SQL injection vulnerabilities in ClipBucket 2.6 Revision 738 and earlier allow remote attackers to execute arbitrary SQL…
Check your servers for CVE-2012-5849
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-5849 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 SQL injection vulnerabilities in ClipBucket 2.6 Revision 738 and earlier allow remote attackers to execute arbitrary SQL commands via the (1) uid parameter in an add_friend action to ajax.php; id parameter in a (2) share_object, (3) add_to_fav, (4) rating, or (5) flag_object action to ajax.php; cid parameter in an (6) add_new_item, (7) remove_collection_item, (8) get_item, or (9) load_more_items action to ajax.php; (10) ci_id parameter in a get_item action to ajax.php; user parameter to (11) user_contacts.php or (12) view_channel.php; (13) pid parameter to view_page.php; (14) tid parameter to view_topic.php; or (15) v parameter to watch_video.php.
Exploitation
EPSS 2.84%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 87.3% of all scored CVEs. Scores of 27 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-5849 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2012-5849RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2012-5849Alpine
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-5849
trivy image --scanners vuln IMAGE | grep CVE-2012-5849
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
- http://forums.clip-bucket.com/showthread.php?12527-Security-Fix-ClipBucket-2-6-SQL-Injections-fix-%28Updated%29 forums.clip-bucket.com
- http://sourceforge.net/projects/clipbucket/files/ClipBucket%20v2/ sourceforge.net
Exploits and proof of concept
- 23252 exploit-db.com · exploit
Other references
- 88175 osvdb.org · vdb entry
- 88177 osvdb.org · vdb entry
- 56854 securityfocus.com · vdb entry
- 88179 osvdb.org · vdb entry
- 88180 osvdb.org · vdb entry
- 20121207 Multiple SQL Injection vulnerabilities in ClipBucket archives.neohapsis.com · mailing list
- 20121205 Multiple SQL Injection vulnerabilities in ClipBucket archives.neohapsis.com · mailing list
- 88178 osvdb.org · vdb entry
- https://www.htbridge.com/advisory/HTB23125 htbridge.com
- 88176 osvdb.org · vdb entry
Source: the record CVE-2012-5849 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