{"answers":{"affected":"It affects 9 products.","exploited":"There is no known exploitation of CVE-2018-6871 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2018-6871 is a critical server-side request forgery vulnerability in Canonical Ubuntu Linux, published on 9 Feb 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-6871 and fix it if it is affected.\n\nWhat it is: CVE-2018-6871 is a critical server-side request forgery vulnerability in Canonical Ubuntu Linux, published on 9 Feb 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-6871 in the wild and no public exploit code.\n\nAffected product: Canonical Ubuntu Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-6871/ (Markdown: https://insights.sbomify.com/CVE-2018-6871/index.md)","id":"CVE-2018-6871","markdown":"https://insights.sbomify.com/CVE-2018-6871/index.md","name":"CVE-2018-6871","record":{"aliases":["CVE-2018-1055","DEBIAN-CVE-2018-6871","DSA-4111-1","DSA-4111-2","GHSA-4xgr-65gv-68q9","RHSA-2018:0418","RHSA-2018:0517","SUSE-SU-2018:0428-1","SUSE-SU-2018:0443-1","UBUNTU-CVE-2018-6871","USN-3579-1"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"LibreOffice","requires_auth":"none","summary":"Remote attackers can read arbitrary files via WEBSERVICE calls in LibreOffice documents, requiring users to open malicious files.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ubuntu_linux","vendor":"canonical"},{"product":"debian_linux","vendor":"debian"},{"product":"libreoffice","vendor":"libreoffice"},{"product":"enterprise_linux_desktop","vendor":"redhat"},{"product":"enterprise_linux_server","vendor":"redhat"},{"product":"enterprise_linux_server_aus","vendor":"redhat"},{"product":"enterprise_linux_server_eus","vendor":"redhat"},{"product":"enterprise_linux_server_tus","vendor":"redhat"},{"product":"enterprise_linux_workstation","vendor":"redhat"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[],"description":"LibreOffice before 5.4.5 and 6.x before 6.0.1 allows remote attackers to read arbitrary files via =WEBSERVICE calls in a document, which use the COM.MICROSOFT.WEBSERVICE function.","ecosystems":["Red Hat:enterprise_linux:6::client","Red Hat:enterprise_linux:6::server","Red Hat:enterprise_linux:6::workstation","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","SUSE:Linux Enterprise Desktop 12 SP2","SUSE:Linux Enterprise Desktop 12 SP3","SUSE:Linux Enterprise Software Development Kit 12 SP2","SUSE:Linux Enterprise Software Development Kit 12 SP3","SUSE:Linux Enterprise Workstation Extension 12 SP2","SUSE:Linux Enterprise Workstation Extension 12 SP3"],"exploits":{"exploitdb":1,"first_seen":"2018-02-10","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2018-02-10","kind":"exploitdb","ref":"44022","stars":null,"title":"LibreOffice \u003c 6.0.1 - '=WEBSERVICE' Remote Arbitrary File Disclosure"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Server-side request forgery in n/a","id":"CVE-2018-6871","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux","debian:debian_linux","libreoffice:libreoffice","redhat:enterprise_linux_desktop","redhat:enterprise_linux_server","redhat:enterprise_linux_server_aus","redhat:enterprise_linux_server_eus","redhat:enterprise_linux_server_tus","redhat:enterprise_linux_workstation"],"type":"ssrf","year":"2018"},"n_packages":783,"n_references":8,"next":{"headline":"Denial of service in n/a","id":"CVE-2018-6872"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-af","purl":"pkg:rpm/redhat/autocorr-af","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-bg","purl":"pkg:rpm/redhat/autocorr-bg","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-ca","purl":"pkg:rpm/redhat/autocorr-ca","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-cs","purl":"pkg:rpm/redhat/autocorr-cs","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-da","purl":"pkg:rpm/redhat/autocorr-da","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-de","purl":"pkg:rpm/redhat/autocorr-de","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-en","purl":"pkg:rpm/redhat/autocorr-en","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-es","purl":"pkg:rpm/redhat/autocorr-es","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-fa","purl":"pkg:rpm/redhat/autocorr-fa","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-fi","purl":"pkg:rpm/redhat/autocorr-fi","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-fr","purl":"pkg:rpm/redhat/autocorr-fr","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-ga","purl":"pkg:rpm/redhat/autocorr-ga","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-hr","purl":"pkg:rpm/redhat/autocorr-hr","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-hu","purl":"pkg:rpm/redhat/autocorr-hu","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-is","purl":"pkg:rpm/redhat/autocorr-is","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-it","purl":"pkg:rpm/redhat/autocorr-it","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-ja","purl":"pkg:rpm/redhat/autocorr-ja","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-ko","purl":"pkg:rpm/redhat/autocorr-ko","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-lb","purl":"pkg:rpm/redhat/autocorr-lb","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-lt","purl":"pkg:rpm/redhat/autocorr-lt","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-mn","purl":"pkg:rpm/redhat/autocorr-mn","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-nl","purl":"pkg:rpm/redhat/autocorr-nl","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-pl","purl":"pkg:rpm/redhat/autocorr-pl","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-pt","purl":"pkg:rpm/redhat/autocorr-pt","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-ro","purl":"pkg:rpm/redhat/autocorr-ro","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-ru","purl":"pkg:rpm/redhat/autocorr-ru","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-sk","purl":"pkg:rpm/redhat/autocorr-sk","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-sl","purl":"pkg:rpm/redhat/autocorr-sl","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-sr","purl":"pkg:rpm/redhat/autocorr-sr","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-sv","purl":"pkg:rpm/redhat/autocorr-sv","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-tr","purl":"pkg:rpm/redhat/autocorr-tr","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-vi","purl":"pkg:rpm/redhat/autocorr-vi","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"autocorr-zh","purl":"pkg:rpm/redhat/autocorr-zh","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"libreoffice","purl":"pkg:rpm/redhat/libreoffice","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"libreoffice-base","purl":"pkg:rpm/redhat/libreoffice-base","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"libreoffice-bsh","purl":"pkg:rpm/redhat/libreoffice-bsh","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"libreoffice-calc","purl":"pkg:rpm/redhat/libreoffice-calc","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"libreoffice-core","purl":"pkg:rpm/redhat/libreoffice-core","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"libreoffice-debuginfo","purl":"pkg:rpm/redhat/libreoffice-debuginfo","source":"RHSA-2018:0517"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["1:4.3.7.2-2.el6_9.2"],"introduced":["0"],"last_affected":[],"package":"libreoffice-draw","purl":"pkg:rpm/redhat/libreoffice-draw","source":"RHSA-2018:0517"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2018-6870"},"products":["n/a"],"published":"2018-02-09","related":[{"cvss_score":9.8,"headline":"SaltStack Salt Authentication Bypass","id":"CVE-2020-11651","kev_date_added":"2021-11-03","published":"2020-04-30"},{"cvss_score":9.8,"headline":"OpenSMTPD Remote Code Execution","id":"CVE-2020-7247","kev_date_added":"2022-03-25","published":"2020-01-29"},{"cvss_score":9.8,"headline":"Exim Out-of-bounds Write","id":"CVE-2019-16928","kev_date_added":"2022-03-03","published":"2019-09-27"},{"cvss_score":9.8,"headline":"Exim Buffer Overflow","id":"CVE-2018-6789","kev_date_added":"2021-11-03","published":"2018-02-08"},{"cvss_score":9.8,"headline":"Oracle Java SE and Java SE Embedded Remote Code Execution","id":"CVE-2015-2590","kev_date_added":"2022-03-03","published":"2015-07-16"},{"cvss_score":9.8,"headline":"Oracle JRE Remote Code Execution","id":"CVE-2013-0422","kev_date_added":"2022-05-25","published":"2013-01-10"},{"cvss_score":9.8,"headline":"Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution","id":"CVE-2011-3544","kev_date_added":"2022-03-03","published":"2011-10-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Remote attackers can read arbitrary files via WEBSERVICE calls in LibreOffice documents, requiring users to open malicious files.","url":"https://insights.sbomify.com/CVE-2018-6871/"}