Skip to content

1.7.53.11

Choose a tag to compare

@rhukster rhukster released this 19 Nov 00:44
de011b6

Bugfix

  • [security] The visitor's IP no longer comes from headers any visitor can send. Client-IP, CF-Connecting-IP, X-Forwarded-For and the other forwarded headers are each trusted only when switched on under system.http_x_forwarded (client_ip, cf_connecting_ip, ip), and all are off by default, so login throttling, form limits and logs see the real address. A site behind Cloudflare or another proxy keeps real visitor IPs by restoring them in the web server (nginx real_ip, Apache mod_remoteip), or by switching on the matching header when nothing but the proxy can reach the server. Backport of the Grav 2 rules
  • [security] In the classic admin, a user manager without super-admin access can no longer save, change the password of or delete a super-admin account through the Accounts page, a submitted password hash is ignored, and stored credentials are no longer written into the account form. Thanks @manus-pi
  • A page with a link or image whose address is longer than any file path, such as an inline image written as /data:image/png;base64,..., no longer turns into an error page on servers with open_basedir set