診断ジェネレータ作成プラグイン <= 1.4.16 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'js' Parameter
- 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 診断ジェネレータ作成プラグイン (Diagnosis Generator) plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'js' parameter in versions up to and including 1.4.16. This is due to missing authorization checks and insufficient input sanitization in the themeFunc() function. The function is hooked to 'admin_init' and processes theme update requests without verifying user capabilities, allowing any authenticated user (including subscribers) to save malicious JavaScript to theme files. Additionally, the save() function uses stripslashes() which removes WordPress's magic quotes protection. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in theme files that will execute whenever a user accesses a page containing the diagnosis form shortcode.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- olivesystem 診断ジェネレータ作成プラグイン
through 1.4.16
References 9
plugins.trac.wordpress.org
- browser/os-diagnosis-generator/trunk/diagnosisAdminClass.php#L409
- browser/os-diagnosis-generator/tags/1.4.16/diagnosisAdminClass.php#L409
- browser/os-diagnosis-generator/trunk/class/themeClass.php#L26
- browser/os-diagnosis-generator/tags/1.4.16/class/themeClass.php#L26
- browser/os-diagnosis-generator/trunk/class/themeClass.php#L39
- browser/os-diagnosis-generator/tags/1.4.16/class/themeClass.php#L39
- browser/os-diagnosis-generator/trunk/include_files/user-viewFormPage.php#L102
- browser/os-diagnosis-generator/tags/1.4.16/include_files/user-viewFormPage.php#L102