Skip to content

Padding Oracle Vulnerability #1

Description

@paragonie-scott

$rsa = new RSA();
$rsa->loadKey($this->key);
$rsa->setEncryptionMode(RSA::ENCRYPTION_PKCS1);
$result = $rsa->encrypt($this->envName.'='.$this->envValue);

See https://framework.zend.com/security/advisory/ZF2015-10 or Daniel Bleichenbacher's 1998 paper about padding oracle attacks against RSA with PKCS1v1.5 padding to learn why this is a vulnerability.

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