The K2 frontend article-attachment upload path accepts files whose extension is `.php`, and Apache's standard mod_php matches `\.php$` and executes them under the K2 web user. A K2 Author can upload a `shell.php`, then fetch `/media/k2/attachments/shell.php` and execute arbitrary PHP code in the web server's context.
The K2 frontend article-attachment upload path accepts files whose extension is .php, and Apache's standard mod_php matches \.php$ and executes them under the K2 web user. A K2 Author can upload a shell.php, then fetch /media/k2/attachments/shell.php and execute arbitrary PHP code in the web server's context.
Why this VPI (explainable, experimental)
VPI breakdown
| Impact | 63.00 |
| Exploitation signal(No additional exploitation signal) | ×1.00 |
| VPI | 63.00 |
VPI formula vpi-v1