diff --git a/db/modules_metadata_base.json b/db/modules_metadata_base.json index 9aac3287aad9..f8f2837860d6 100644 --- a/db/modules_metadata_base.json +++ b/db/modules_metadata_base.json @@ -88066,7 +88066,7 @@ "targets": [ "Auto" ], - "mod_time": "2023-12-19 19:01:45 +0000", + "mod_time": "2024-04-22 15:12:27 +0000", "path": "/modules/exploits/linux/local/vcenter_java_wrapper_vmon_priv_esc.rb", "is_install_path": true, "ref_name": "linux/local/vcenter_java_wrapper_vmon_priv_esc", @@ -88078,7 +88078,8 @@ "crash-service-down" ], "Reliability": [ - "repeatable-session" + "repeatable-session", + "event-dependent" ], "SideEffects": [ "artifacts-on-disk", diff --git a/modules/exploits/linux/local/vcenter_java_wrapper_vmon_priv_esc.rb b/modules/exploits/linux/local/vcenter_java_wrapper_vmon_priv_esc.rb index 16af26849f91..51bf5dfccd18 100644 --- a/modules/exploits/linux/local/vcenter_java_wrapper_vmon_priv_esc.rb +++ b/modules/exploits/linux/local/vcenter_java_wrapper_vmon_priv_esc.rb @@ -51,7 +51,7 @@ def initialize(info = {}) }, 'Notes' => { 'Stability' => [CRASH_SERVICE_DOWN], - 'Reliability' => [REPEATABLE_SESSION], + 'Reliability' => [REPEATABLE_SESSION, EVENT_DEPENDENT], 'SideEffects' => [ARTIFACTS_ON_DISK, CONFIG_CHANGES, IOC_IN_LOGS], 'AKA' => ['vScalation'] } diff --git a/spec/module_validation_spec.rb b/spec/module_validation_spec.rb index 1a1c819110dc..fbf53d08a621 100644 --- a/spec/module_validation_spec.rb +++ b/spec/module_validation_spec.rb @@ -107,7 +107,7 @@ end it 'has errors' do - expect(subject.errors.full_messages).to eq ['Reliability contains invalid values ["FIRST_ATTEMPT_FAIL"] - only ["first-attempt-fail", "repeatable-session", "unreliable-session"] is allowed'] + expect(subject.errors.full_messages).to eq ['Reliability contains invalid values ["FIRST_ATTEMPT_FAIL"] - only ["first-attempt-fail", "repeatable-session", "unreliable-session", "event-dependent"] is allowed'] end end diff --git a/spec/support/lib/module_validation.rb b/spec/support/lib/module_validation.rb index f391d2f32e1a..135291bab9e7 100644 --- a/spec/support/lib/module_validation.rb +++ b/spec/support/lib/module_validation.rb @@ -66,7 +66,8 @@ def initialize(mod) VALID_RELIABILITY_VALUES = [ Msf::FIRST_ATTEMPT_FAIL, Msf::REPEATABLE_SESSION, - Msf::UNRELIABLE_SESSION + Msf::UNRELIABLE_SESSION, + Msf::EVENT_DEPENDENT ] #