{"id":55797,"date":"2024-04-03T01:11:00","date_gmt":"2024-04-02T21:11:00","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/177880\/rapid766240-unquotedpath.txt"},"modified":"2024-04-03T01:11:00","modified_gmt":"2024-04-02T21:11:00","slug":"rapid7-nexpose-6-6-240-unquoted-service-path","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/rapid7-nexpose-6-6-240-unquoted-service-path\/","title":{"rendered":"Rapid7 Nexpose 6.6.240 Unquoted Service Path"},"content":{"rendered":"<p># Exploit Title: Rapid7 nexpose &#8211; &#8216;nexposeconsole&#8217; Unquoted Service Path<br \/># Date: 2024-04-2<br \/># Exploit Author: Saud Alenazi<br \/># Vendor Homepage: https:\/\/www.rapid7.com\/<br \/># Software Link: https:\/\/www.rapid7.com\/products\/nexpose\/<br \/># Version: 6.6.240<br \/># Tested: Windows 10 x64<\/p>\n<p># Step to discover Unquoted Service Path:<\/p>\n<p>C:\\Users\\saudh&gt;wmic service where &#8216;name like &#8220;%nexposeconsole%&#8221;&#8216; get name, displayname, pathname, startmode, startname<\/p>\n<p>DisplayName Name PathName StartMode StartName <br \/>Nexpose Security Console nexposeconsole &#8220;C:\\Program Files\\rapid7\\nexpose\\nsc\\bin\\nexlaunch.exe&#8221; Auto LocalSystem<\/p>\n<p># Service info:<\/p>\n<p>C:\\Users\\saudh&gt;sc qc nexposeconsole<br \/>[SC] QueryServiceConfig SUCCESS<\/p>\n<p>SERVICE_NAME: nexposeconsole<br \/>TYPE : 10 WIN32_OWN_PROCESS<br \/>START_TYPE : 2 AUTO_START<br \/>ERROR_CONTROL : 0 IGNORE<br \/>BINARY_PATH_NAME : &#8220;C:\\Program Files\\rapid7\\nexpose\\nsc\\bin\\nexlaunch.exe&#8221;<br \/>LOAD_ORDER_GROUP :<br \/>TAG : 0<br \/>DISPLAY_NAME : Nexpose Security Console<br \/>DEPENDENCIES :<br \/>SERVICE_START_NAME : LocalSystem<\/p>\n<p>#Exploit:<\/p>\n<p>A successful attempt would require the local user to be able to insert their code in the system root path undetected by the OS or other security applications where it could potentially be executed during application startup or reboot. If successful, the local user&#8217;s code would execute with the elevated privileges of the application.<\/p>\n","protected":false},"excerpt":{"rendered":"<p># Exploit Title: Rapid7 nexpose &#8211; &#8216;nexposeconsole&#8217; Unquoted Service Path# Date: 2024-04-2# Exploit Author: Saud Alenazi# Vendor Homepage: https:\/\/www.rapid7.com\/# Software Link: https:\/\/www.rapid7.com\/products\/nexpose\/# Version: 6.6.240# Tested: Windows 10 x64 # Step to discover Unquoted Service Path: C:\\Users\\saudh&gt;wmic service where &#8216;name like &#8220;%nexposeconsole%&#8221;&#8216; get name, displayname, pathname, startmode, startname DisplayName Name PathName StartMode StartName Nexpose Security Console &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-55797","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/55797","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=55797"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/55797\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=55797"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=55797"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=55797"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}