Skip to content

testssl.sh allows for cli injection #35

@underdarknl

Description

@underdarknl

As noted in testssl.sh:
#TODO: Still no shell injection safe but if just run it from the cmd line: that's fine

The testssl mail program does no input checking on the A records IP data, and simply injects this into the the subprocess.run command argument.

From where testssl.sh will possible hit the issue noted in its code.
Inserting a bash script into the dns records data of a domain that is tested will trip this up.

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