AI Agent by SiteGround <= 1.2.7 - Missing Authorization to Authenticated (Contributor+) Arbitrary Media Upload via /generate-content REST Endpoint
- 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: yes
- Technical impact: partial
Summary
The AI Agent by SiteGround plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 1.2.7. This is due to the plugin not properly verifying that a user is authorized to perform an action. This makes it possible for unauthenticated attackers to upload images to the WordPress media library, bypassing the upload_files capability restriction that Contributors are normally subject to, as authenticated attackers with Contributor-level access or above can satisfy the endpoint's nonce and permission checks. The sg_ai_studio_gutenberg_nonce required by the endpoint is emitted to any user with block editor access — including Contributors — making the absent upload_files check the sole barrier to exploitation.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- siteground AI Agent by SiteGround
through 1.2.7
References 7
plugins.trac.wordpress.org
- browser/sg-ai-studio/tags/1.2.6/core/Rest/Rest.php#L474
- browser/sg-ai-studio/tags/1.2.6/core/Rest/Rest.php#L325
- browser/sg-ai-studio/tags/1.2.6/core/Helper/Helper.php#L1077
- browser/sg-ai-studio/tags/1.2.6/core/Helper/Helper.php#L604
- browser/sg-ai-studio/tags/1.2.6/core/Rest/Gutenberg.php#L118
- changeset?reponame=&old=3654622%40sg-ai-studio&new=3654622%40sg-ai-studio