Skip to content

Remote Code Execution possible via eval()-type functions - ghg-cprg #241

@driesejr

Description

@driesejr

Find more live information in Aikido here: https://app.aikido.dev/repositories/1032950?sidebarIssue=18941048&groupId=39961&sidebarIssueTask=2558353&sidebarTab=tasks

Scope

These issues affect the following code repository:

TLDR

Using functions such as eval, but also less obvious functions such as setTimeout, setInterval or 'new Function' can lead to users being able to run their own code on your servers.

How to fix

If possible, avoid using these functions altogether. If not, use a list of allowed inputs that can feed into these functions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions