{"cve": [{"lastseen": "2020-12-09T20:25:45", "description": "A cross-site scripting (XSS) vulnerability in admin/partials/wp-splashing-admin-sidebar.php in the Splashing Images plugin (wp-splashing-images) before 2.1.1 for WordPress allows remote attackers to inject arbitrary web script or HTML via the search parameter to wp-admin/upload.php.", "edition": 6, "cvss3": {"exploitabilityScore": 1.7, "cvssV3": {"baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "attackComplexity": "LOW", "scope": "CHANGED", "attackVector": "NETWORK", "availabilityImpact": "NONE", "integrityImpact": "LOW", "baseScore": 4.8, "privilegesRequired": "HIGH", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N", "userInteraction": "REQUIRED", "version": "3.0"}, "impactScore": 2.7}, "published": "2018-01-30T20:29:00", "title": "CVE-2018-6194", "type": "cve", "cwe": ["CWE-79"], "bulletinFamily": "NVD", "cvss2": {"severity": "LOW", "exploitabilityScore": 6.8, "obtainAllPrivilege": false, "userInteractionRequired": true, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "NONE", "availabilityImpact": "NONE", "integrityImpact": "PARTIAL", "baseScore": 3.5, "vectorString": "AV:N/AC:M/Au:S/C:N/I:P/A:N", "version": "2.0", "accessVector": "NETWORK", "authentication": "SINGLE"}, "impactScore": 2.9, "obtainUserPrivilege": false}, "cvelist": ["CVE-2018-6194"], "modified": "2018-02-14T17:08:00", "cpe": [], "id": "CVE-2018-6194", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-6194", "cvss": {"score": 3.5, "vector": "AV:N/AC:M/Au:S/C:N/I:P/A:N"}, "cpe23": []}], "packetstorm": [{"lastseen": "2018-01-29T00:20:57", "description": "", "published": "2018-01-26T00:00:00", "type": "packetstorm", "title": "WordPress Splashing Images 2.1 Cross Site Scripting / PHP Object Injection", "bulletinFamily": "exploit", "cvelist": ["CVE-2018-6195", "CVE-2018-6194"], "modified": "2018-01-26T00:00:00", "id": "PACKETSTORM:146109", "href": "https://packetstormsecurity.com/files/146109/WordPress-Splashing-Images-2.1-Cross-Site-Scripting-PHP-Object-Injection.html", "sourceData": "`Product: WordPress Splashing Images Plugin - https://wordpress.org/plugins/wp-splashing-images/ \nVendor: Studio Espresso \nTested version: 2.1 \n \n \n** CVE ID: CVE-2018-6194 ** \n \n:: CVE description :: \nA cross-site scripting (XSS) vulnerability in admin/partials/wp-splashing-admin-sidebar.php in the wp-splashing-images plugin before 2.1.1 for WordPress allows remote attackers to inject arbitrary web script or HTML via the search parameter to wp-admin/upload.php. \n \n:: Technical details :: \nIn wp-splashing-images/admin/partials/wp-splashing-admin-sidebar.php:9, the search HTTP GET parameter is directly echoed into the value attribute of an HTML form field without proper sanitization. An attacker can close the HTML input tag with the \"> expression and inject arbitrary HTML/JavaScript code. \n \nVulnerable code: \n \n<input type=\"search\" id=\"post-search-input-splashing\" name=\"search\" value=\"<?php echo $_GET['search']; ?>\" placeholder=\"<?php _e('Search unsplash.com', 'wp-splashing-images'); ?>\"> \n \nhttps://plugins.trac.wordpress.org/browser/wp-splashing-images/trunk/admin/partials/wp-splashing-admin-sidebar.php?rev=1675965#L9 \n \n:: Proof of Concept :: \nhttp://<host>/wp-admin/upload.php?page=wp-splashing&search=\"><script>alert(document.cookie);</script> \n \n \n** CVE ID: CVE-2018-6195 ** \n \n:: CVE description :: \nadmin/partials/wp-splashing-admin-main.php in the wp-splashing-images plugin before 2.1.1 for WordPress allows authenticated (administrator, editor, or author) remote attackers to conduct PHP Object Injection attacks via crafted serialized data in the 'session' HTTP GET parameter to wp-admin/upload.php. \n \n:: Technical details :: \nIn wp-splashing-images/admin/partials/wp-splashing-admin-main.php:23, the contents of the session HTTP GET parameter is base64-decoded and then unserialized. \n \nVulnerable code: \n \n<?php if($_GET['session']) { \n$data = unserialize(base64_decode($_GET['session'])); \n \nhttps://plugins.trac.wordpress.org/browser/wp-splashing-images/trunk/admin/partials/wp-splashing-admin-main.php?rev=1675965#L23 \n \nBy carefully crafting a URL, a remote and authenticated (administrator, editor or author) attacker can inject a base64-encoded serialized PHP object into the current WordPress instance. Depending on the available classes within the current context and on what actions are performed within their relevant magic methods (such as __wakeup() or __destruct() ), impacts can go from arbitrary file deletion to arbitrary code execution. \n \n:: Proof of Concept :: \nUsing pluginvulnerabilities.com's plugin [1], we can easily check that this vulnerability is exploitable: \nhttp://<host>/wp-admin/upload.php?page=wp-splashing&session=TzoyMDoiUEhQX09iamVjdF9JbmplY3Rpb24iOjA6e30%3D \n \n[1] https://www.pluginvulnerabilities.com/2017/07/24/wordpress-plugin-for-use-in-testing-for-php-object-injection/ \n \n \n** Solution ** \nUpdate to version 2.1.1 \n \n \n** Timeline ** \n10/01/2018: vendor contacted; vendor gives the e-mail address to send the report to \n12/01/2018: report sent to vendor \n22/01/2018: requested an update regarding the release date of the fix; vendor releases the fix on that day \n26/01/2018: report published \n \n \n** Credits ** \nVulnerabilities discovered by Nicolas Buzy-Debat working at Orange Cyberdefense Singapore (CERT-LEXSI). \n \n-- \nBest Regards, \n \nNicolas Buzy-Debat \nOrange Cyberdefense Singapore (CERT-LEXSI) \n_________________________________________________________________________________________________________________________ \n \nCe message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc \npas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler \na l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, \nOrange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. \n \nThis message and its attachments may contain confidential or privileged information that may be protected by law; \nthey should not be distributed, used or copied without authorisation. \nIf you have received this email in error, please notify the sender and delete this message and its attachments. \nAs emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. \nThank you. \n \n \n \n`\n", "cvss": {"score": 0.0, "vector": "NONE"}, "sourceHref": "https://packetstormsecurity.com/files/download/146109/wpsplashingimages21-xss.txt"}]}