Skip to content

Wamp session IDs are insecure #251

Open
@rizqidjamaluddin

Description

@rizqidjamaluddin

WampConnection classes use uniqid() to generate an identifier that is later used by the user. This function gives fairly predictable strings (there's even a warning on the official PHP docs) and shouldn't be used for this purpose.

Preferably session identifiers would be generated using something like openssl_random_pseudo_bytes or another safer PRNG.

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