AGE-GATE <= 1.0 - Unauthenticated Remote Code Execution via PHP Code Injection via 'width'/'height' Parameters to Standalone admin.php
What fixes it
No source in this snapshot names a fixed version.
Description
The AGE-GATE plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1.0 via the 'width (and height)' parameter parameter. This is due to missing authentication, capability checks, and nonce verification on the standalone admin.php endpoint, combined with unsanitized injection of POST parameters directly into generated PHP source written to an included file. This makes it possible for unauthenticated attackers to execute code on the server. This is possible because admin.php does not load WordPress and carries no ABSPATH guard, making it a fully unauthenticated entry point regardless of the decorative capability arguments registered via the plugin's simulated menu API.
Text from CVE List
Affected versions 1
- AGE-GATEaffected: all versions through 1.0CVE List
References 8
- wordfence.com/threat-intel/vulnerabilities/id/05db28b4-a3de-402d-bc5b-06d5347d6724?source=cveReferencevia CVE List
- plugins.trac.wordpress.org/browser/wp-site-age-gate/trunk/main.php#L279Referencevia CVE List
- plugins.trac.wordpress.org/browser/wp-site-age-gate/trunk/main.php#L325Referencevia CVE List
- plugins.trac.wordpress.org/browser/wp-site-age-gate/trunk/main.php#L213Referencevia CVE List
- plugins.trac.wordpress.org/browser/wp-site-age-gate/trunk/main.php#L291Referencevia CVE List
- plugins.trac.wordpress.org/browser/wp-site-age-gate/trunk/admin.phpReferencevia CVE List
- plugins.trac.wordpress.org/browser/wp-site-age-gate/trunk/agegate.php#L161Referencevia CVE List
- plugins.trac.wordpress.org/browser/wp-site-age-gate/trunk/nonwp.php#L20Referencevia CVE List