Threaded scanner and proof-of-concept exploit for CVE-2015-4455, an unauthenticated arbitrary file upload in the Aviary Image Editor add-on for Gravity Forms 3.0 beta.

Fast YAML-based vulnerability scanner with template-driven detection engine for automated security testing across web apps, APIs, networks, DNS, and cloud infrastructure.

Open-source web application security scanner for automated vulnerability detection, manual penetration testing, and API security testing with a proxy-based interception engine.

This repository contains the scanner component for Greenbone Community Edition.
Aviary Image Editor Add-on For Gravity Forms 3.0 Beta - Arbitrary File Upload
| field | value |
|---|---|
| CVE | CVE-2015-4455 |
| severity | critical |
| CVSS | 9.8, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD primary) |
| fixed in | 3.0 beta r6 / r7 (changelog "Resolved important security issue"); affected: 3.0 beta line |
| class | unrestricted file upload / arbitrary code execution (CWE-434) |
| scanner version | 1.0.0 |
| python | 3.8+ stdlib only, no third-party deps |
If you want the exploit, find it here: https://satoshidisk.com/pay/CT5THV
The Aviary Image Editor Add-on For Gravity Forms 3.0 beta exposes includes/upload.php through the router at /?gf_page=upload without authentication. A bare GET /?gf_page=upload is answered with the literal word Failed to upload file, and a multipart/form-data POST carrying field_id, form_id, gform_unique_id, name and a file part is written verbatim into wp-content/uploads/gform_aviary; the JSON reply echoes uploaded_filename":"<name>.jpg". Because the stored parts are served back by the web server, a one-line PHP payload uploaded as the file body executes on direct fetch, giving unauthenticated code execution. The nuclei template scores the GET word, the POST status and the POST echo word together (condition: and, max-request: 2).
An unrestricted file upload vulnerability exists in includes/upload.php of the Aviary Image Editor Add-on For Gravity Forms plugin 3.0 beta for WordPress. The plugin integrates the Adobe Creative SDK (formerly Aviary) photo editor with Gravity Forms and registers a custom aviary field type. Its front controller dispatches on $_GET['gf_page']; the upload case calls the include that reads $_FILES['gf_aviary_file'] / the multipart file part and the name / field_id / form_id / gform_unique_id POST fields. None of the reads is gated on an authenticated session, so any remote client can place a file with an executable extension under wp-content/uploads/gform_aviary and trigger PHP execution by requesting it directly. The fixed trunk (r6/r7) gates the storage block behind an image MIME allowlist (in_array over bmp/gif/jpeg/jpg/pjpeg/pict/png) while the 3.0-beta handler listed in Vapid advisory #125 writes any uploaded part straight through; the 3.0 beta r6 changelog entry records the security fix ("Resolved important security issue"), and r7 (trunk) is the current hardened release. NVD scores the issue 9.8 CRITICAL, CWE-434.
max-request: 2: GET /?gf_page=upload followed by POST /?gf_page=upload with the exact multipart field set field_id=3, form_id=1, gform_unique_id=../../../, name=<rand>.phtml and a file part named <rand>.jpg whose content is the random probe string.contains(body_1, "Failed to upload file") on the GET router reply.status_code_2 == 200 on the POST reply.contains(body_2, "uploaded_filename\":\"<rand>.jpg\"") on the POST JSON echo, with <rand> the 7-char rand_base(7, "abc") name reused between the name field and the file part.condition: and - check() returns True only when all three matchers hold; any missing element yields False, never a partial pass.error, not not-vuln.--json sidecar mirrors the same rows for tooling.Scanner:
python scanner/CVE-2015-4455/scanner.py urls.txt [threads] [out.csv] [--json out.json]
urls.txt takes one target per line (# comments skipped, scheme auto-prepended when missing), e.g. shop.local or http://shop.local:8080. The router and the stored files are both served from the WordPress root.
python exploit/CVE-2015-4455/exploit.py http://shop.local [--csv out.csv] [--json out.json] [--verbose]
It replays the template router probe, replays the multipart upload with a <?php echo md5(7351); ?> probe body, fetches the stored part under wp-content/uploads/gform_aviary, prints numbered checks 1 to 5, the result dict, and the final verdict line.
RCE POC SUITE
scanner : CVE-2015-4455 v1.0.0 (Aviary Image Editor Add-on For Gravity Forms 3.0 beta, fixed in 3.0 beta r6/r7)
endpoint: GET/POST /?gf_page=upload, files stored in wp-content/uploads/gform_aviary
matchers: GET body word 'Failed to upload file' AND POST status 200 AND POST body word uploaded_filename":"<rand>.jpg" (and)
threads : 4 | csv: out.csv | json: out.json
[2026-12-03 14:11:02] loaded 1 target(s) from urls.txt
[2026-12-03 14:11:03] summary total=1 answered=1 vulnerable=1 errors=0
[2026-12-03 14:11:03] timing wall=741ms avg=702ms max=702ms
[2026-12-03 14:11:03] wrote out.csv (1 row(s)) and out.json
| column | meaning |
|---|---|
| n | 1-based row number |
| url | target as provided (scheme auto-prepended if missing) |
| status | ok if the HTTP layer answered, error otherwise |
| vulnerable | True/False verdict from check() (all three matchers) |
| elapsed_ms | per-target timing |
| token | 12-char md5 over the probe value, the exec-vs-reflection proof digest |
| result_b64 | base64(JSON) full details (per-matcher evidence, uploaded name, randstr) |
scanner/CVE-2015-4455/scanner.py - threaded black-box scanner.scanner/CVE-2015-4455/README.md - this document.scanner/CVE-2015-4455/DESCRIPTION.md - architecture and probe plan.exploit/CVE-2015-4455/exploit.py - two-stage POC (router fingerprint + multipart upload with PHP probe).0 - completed and at least one target scored vulnerable.2 - completed with no vulnerable target (or no targets loaded).http/cves/2015/CVE-2015-4455.yaml