Vulnerability & Exploit Database

Back to search

Palo Alto Networks readSessionVarsFromFile() Session Corruption

This module exploits a chain of vulnerabilities in Palo Alto Networks products running PAN-OS versions prior to 6.1.19, 7.0.19, 7.1.14, and 8.0.6. This chain starts by using an authentication bypass flaw to to exploit an XML injection issue, which is then abused to create an arbitrary directory, and finally gains root code execution by exploiting a vulnerable cron script. This module uses an initial reverse TLS callback to stage arbitrary payloads on the target appliance. The cron job used for the final payload runs every 15 minutes by default and exploitation can take up to 20 minutes.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name

exploit/linux/http/panos_readsessionvars

Authors

  • Philip Pettersson <philip.pettersson [at] gmail com>
  • hdm <x [at] hdm.io>

References

Targets

  • Automatic

Platforms

  • unix

Architectures

  • cmd

Reliability

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/linux/http/panos_readsessionvars msf exploit(panos_readsessionvars) > show targets ...targets... msf exploit(panos_readsessionvars) > set TARGET <target-id> msf exploit(panos_readsessionvars) > show options ...show and set options... msf exploit(panos_readsessionvars) > exploit

Related Vulnerabilities