You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/exploits/windows/http/magicinfo_traversal.rb
+24-22Lines changed: 24 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ def initialize(info = {})
10
10
info,
11
11
'Name'=>'Samsung MagicINFO 9 Server Remote Code Execution (CVE-2024-7399)',
12
12
'Description'=>%q{
13
-
Remote Code Execution in Samsung MagicINFO 9 Server.
13
+
Remote Code Execution in Samsung MagicINFO 9 Server <= 21.1050.0.
14
14
Remote code execution can be obtained by exploiting a path traversal vulnerability (CVE-2024-7399) in the SWUpdateFileUploader servlet, which can be queried by an unauthenticated user.
15
15
By default, the application listens on TCP ports 7001 (HTTP) and 7002 (HTTPS) on all network interfaces and runs in the context of NT AUTHORITY\SYSTEM.
16
16
},
@@ -24,12 +24,16 @@ def initialize(info = {})
24
24
['CVE','2024-7399']
25
25
],
26
26
'DisclosureDate'=>'2025-04-30',
27
+
'DefaultOptions'=>{
28
+
'RPORT'=>7002,
29
+
'SSL'=>'True'
30
+
},
27
31
'Platform'=>['windows'],
28
32
'Arch'=>[ARCH_CMD],
29
33
'Targets'=>[
30
34
[
31
35
'Java Server Page',{
32
-
'Platform'=>%w[winlinuxunix],
36
+
'Platform'=>%w[win],
33
37
'Arch'=>ARCH_JAVA
34
38
}
35
39
]
@@ -45,8 +49,8 @@ def initialize(info = {})
45
49
46
50
register_options(
47
51
[
48
-
Opt::RPORT(7002),
49
-
OptString.new('TARGETURI',[true,'The URI for the MagicInfo web interface','/MagicInfo'])
52
+
OptString.new('TARGETURI',[true,'The URI for the MagicInfo web interface','/MagicInfo']),
53
+
OptInt.new('DEPTH',[true,'The traversal depth. The FILE path will be prepended with ../ * DEPTH',6])
0 commit comments