Skip to content

Possible Security Issue - Command Injection in legacy/restts/getimage.php #1

@ghost

Description

In legacy/restts/getimage.php, $_GET['id'] is being passed to a passthru() call without being sanitized, this could allow an attacker to execute arbitrary commands on the server. Take a look at escapeshellarg() for a way to help secure this.

See here:

https://github.com/CatchPlus/S4AAAS/blob/master/legacy/restts/getimage.php#L5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions