mediumVulnerability

GHSA-5x2w-37xf-7962

### Summary The AVideo platform exposes a publicly accessible endpoint that performs server-side PGP decryption without requiring any form of authentication. Any anonymous user can submit a private key, ciphertext, and passphrase to the endpoint and receive the decrypted plaintext in the JSON response. This functionality is entirely unprotected, meaning no session, token, or credential is needed to invoke it. ### Details The endpoint at decryptMessage.json.php accepts a JSON body containing three user-supplied fields: a private key, an encrypted message, and a key password. The server passes these directly into a decryption routine and returns the result. There is no call to any authentication or session validation function before this operation is performed. The relevant server-side operation is: ```php $textDecrypted = decryptMessage($obj->textToDecrypt, $obj->privateKeyToDecryptMsg, $obj->keyPassword); ``` Because no access control exists, any unauthenticated request that reaches this endpoint will be processed. The primary concerns are exposure of private key material to server memory and logging infrastructure, and unconstrained consumption of server CPU resources for cryptographic operations. An attacker who has obtained a private key and matching ciphertext through other means can offload decryption work to the target server without holding any account on the platform. ### PoC ```sh curl -s -X POST \ "https://target.example.com/plugin/LoginControl/pgp/decryptMessage.json.php" \ -H "Content-Type: application/json" \ -d '{ "textToDecrypt": "-----BEGIN PGP MESSAGE-----\n<base64_ciphertext>\n-----END PGP MESSAGE-----", "privateKeyToDecryptMsg": "-----BEGIN PGP PRIVATE KEY BLOCK-----\n<base64_private_key>\n-----END PGP PRIVATE KEY BLOCK-----", "keyPassword": "passphrase" }' ``` ### Impact Private key material submitted to this endpoint is processed in server memory and may be captured in application logs, web server access logs, or err

Properties

ghsa_id
GHSA-5x2w-37xf-7962
severity
medium
summary
AVideo has Unauthenticated PGP Message Decryption via Public Endpoint
cve_id
GHSA-5x2w-37xf-7962
is_ghsa_only
true
ghsa_published
2026-03-19T12:46:01Z
source_url
https://github.com/advisories/GHSA-5x2w-37xf-7962
ghsa_updated
2026-03-19T12:46:02Z

Related Entities (3)

AFFECTS (1)

[Software]composer/WWBN/AVideo

HAS_WEAKNESS (1)

[Weakness]Missing Authentication for Critical Function

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph