{"id":"CVE-2022-4060","published":"2023-01-16T15:38:05Z","modified":"2025-04-04T17:46:49Z","title":"User Post Gallery <= 2.19 - Unauthenticated RCE","vendor":"Unknown","product":"User Post Gallery","tier":"core","eol":null,"affectedVersions":[{"vendor":"Unknown","product":"User Post Gallery","versions":["<= 2.19"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-04-04T17:46:18.098774Z","from":"CISA ADP","provenance":"source"},"description":{"text":"The User Post Gallery WordPress plugin through 2.19 does not limit what callback functions can be called by users, making it possible to any visitors to run code on sites running it.","provenance":"source","from":"CVE.org"},"summary":{"text":"The User Post Gallery WordPress plugin, through version 2.19, fails to restrict which callback functions users can invoke, and this flaw lives in the plugin's code handling those callbacks. An attacker with only network access to a site running the affected plugin can execute arbitrary code on it without authentication or any user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:12:02Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.42723,"percentile":0.98744,"date":"2026-11-22","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2022-12-26","exploitedFirstSeen":"2022-12-26","ransomware":false,"evidence":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/wp-upg/user-post-gallery-upg-219-missing-authorization-to-remote-command-execution","date":"2022-12-26"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-11-14&host_type=src&vulnerability=cve-2022-4060","date":"2026-11-14"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-11-19&host_type=src&vulnerability=cve-2022-4060","date":"2026-11-19"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-11-21&host_type=src&vulnerability=cve-2022-4060","date":"2026-11-21"}],"evidenceTotal":4,"provenance":"source"},"exploited":true,"otx":{"pulseCount":1,"pulses":[{"name":"Multiples vulnerabilidades expuestas 03-01-2022","url":"https://otx.alienvault.com/pulse/63b46b640bb97a8b96c4b155","created":"2023-01-03"}],"provenance":"machine"},"cwes":[],"references":[{"url":"https://wpscan.com/vulnerability/8f982ebd-6fc5-452d-8280-42e027d01b1e","tags":["exploit","vdb-entry","technical-description"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2022-51437","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-51437","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2023-09-15","earliestUrl":"https://github.com/im-hanzou/UPGer","repos":[{"name":"im-hanzou/UPGer","url":"https://github.com/im-hanzou/UPGer","stars":8,"created":"2023-09-15"}]},"nuclei":[{"id":"CVE-2022-4060","name":"WordPress User Post Gallery <=2.19 - Remote Code Execution","severity":"critical","path":"http/cves/2022/CVE-2022-4060.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-4060.yaml"}],"first":{"date":"2023-09-15","source":"PoC-in-GitHub","url":"https://github.com/im-hanzou/UPGer"},"provenance":"source"},"exploitRefs":["https://wpscan.com/vulnerability/8f982ebd-6fc5-452d-8280-42e027d01b1e"],"flow":[],"timeline":[{"date":"2022-12-26","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/wp-upg/user-post-gallery-upg-219-missing-authorization-to-remote-command-execution","provenance":"source"},{"date":"2023-01-16","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2022-4060","provenance":"source"},{"date":"2023-09-15","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/im-hanzou/UPGer","provenance":"source"}],"speed":{"daysToPublicExploit":242,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":67.3,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1427 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.75,"detail":"percentile 0.9874"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 reference tagged Exploit; 1 PoC-in-GitHub repo; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.68,"detail":"1 pulse"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}