Skip to content

NoMethodError undefined method `escape_arg' #19636

@h00die

Description

@h00die

Steps to reproduce

  1. Got a session with an ssh_login module shell on Ubuntu 22.04
  2. Used WIP: LPE CVE-2024-1086 #19625
  3. crash

Current behavior

[*] Finished creating exploit source zip, uploading...
[*] Max line length is 65537
[*] Writing 2186825 bytes in 134 chunks of 60512 bytes (octal-encoded), using printf
[-] Exploit failed: NoMethodError undefined method `escape_arg' for #<Session:shell 1.1.1.1:22 (192.168.10.110) "SSH h00die@ ">
[*] Exploit completed, but no session was created.

Metasploit version

Framework: 6.4.36-dev-88132657d2
Console : 6.4.36-dev-88132657d2

Metadata

Metadata

Assignees

Labels

bugconfirmedIssues confirmed by a committer

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions