Image Hub <= 1.2.0 - Authenticated (Subscriber+) Sensitive Information Exposure in Admin Page HTML
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
The Image Hub – Free Images from Unsplash, Pixabay, Pexels, Openverse & Giphy plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 1.2.0 via the 'image_hub_api_keys_* (6 options)' parameter. This makes it possible for authenticated attackers, with subscriber-level access and above, to extract the plaintext API credentials for six third-party services — Giphy, Openverse (client ID and secret), Pexels, Pixabay, and Unsplash — emitted verbatim into every admin page's HTML via wp_localize_script. The leaked page HTML also contains a valid image_hub_nonce AJAX nonce, which — combined with the absence of any capability check in the image_hub_update_settings AJAX handler — allows the same Subscriber-level attacker to overwrite all six stored API credential options via update_option().
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- extendthemes Image Hub – Free Images from Unsplash, Pixabay, Pexels, Openverse & Giphy
through 1.2.0
References 9
plugins.trac.wordpress.org
- browser/image-hub/tags/1.2.0/inc/src/MediaModal.php#L38
- browser/image-hub/tags/1.2.0/inc/src/MediaModal.php#L19
- browser/image-hub/tags/1.2.0/inc/src/Settings.php#L78
- browser/image-hub/tags/1.2.0/image-hub.php#L46
- browser/image-hub/tags/1.2.0/inc/src/Settings.php#L23
- browser/image-hub/tags/1.2.0/inc/src/MediaModal.php#L56
- browser/image-hub/tags/1.2.0/inc/src/Utils.php#L11
- changeset/3745452/image-hub/trunk/inc/src/MediaModal.php