From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WHYWIH8gqGRWHQEASxT56A (envelope-from ) for ; Fri, 07 Jul 2023 16:26:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mEemH38gqGScRQAAauVa8A (envelope-from ) for ; Fri, 07 Jul 2023 16:26:07 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A74FE50B71 for ; Fri, 7 Jul 2023 16:23:26 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=J43yFXhZ; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688739806; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=n0Hcu3i7Eb8iVVlMC2eUMKgpKQSQq+TrYuzc8UXbVRU=; b=h1JXxtU+s33j6sCdZqCFRMkYo7P3qQKGgMa2rrpqKAKhYpq43gN/g2izN6yVwJbp0PxneN fD7lVclsD/ub+cbEXenM2LQilRoXHj8cgKlcEzc2LxaiuvwSIPGQfIxX4DjN/dM/Gh2NWD NpIQoYoepG4WM3vhbACHXAU7NFyXkcspiTluS+VnucVuQJ/RbvQSDFD54dA/g80nOeyj3r U6KMTD8ylvf5wfYep2nab0K5WljCmURSiQo69O3WVO01CB+bh0wIJO6/ENzAyraHA/NGMJ QslxINAbRSPv2WZ0IrRdzmvWgwLw7JTtckQ6Ynpqwx5BYSsSeMb9Y5frfLVoyw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=J43yFXhZ; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688739806; a=rsa-sha256; cv=none; b=mY5g+ctmzEaH1z9OeNy8eciW78RKmO8m/o6760vNyebKBqwICUFJJPRkhQHmpATl7eKyEc Y/4PZqTmaMOerA7cn9J2ngkRoFVpbnKQUz1+JWXXQUPm5XefBKpH5qW1kJk7MTvs2F8+te 89cFP9QwPbAW3Hn3I8hHdHLgQHLl1+kICNhtCSyLxtVec5Y+lqdslOI4iEeqov5PkboqTX RoyR7/QtvsJC51fZIWYjCggdPT3xVKvBusZWLK4XICsl2nIrM49gf92Y8uxmj81CbHMn72 mVsqfm6Jb5QifmBTfjC7P8JwliSL0PLkjTymXizmPfHf0OuNw5h9RClCGUsvXQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qHmMT-0001Ut-6o; Fri, 07 Jul 2023 10:23:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHmMR-0001Ua-1w for guix-patches@gnu.org; Fri, 07 Jul 2023 10:23:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qHmMQ-0007IE-PN for guix-patches@gnu.org; Fri, 07 Jul 2023 10:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qHmMQ-0000Ek-Fk for guix-patches@gnu.org; Fri, 07 Jul 2023 10:23:02 -0400 Subject: bug#62678: [PATCH] services: nginx: Harden php-location settings. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Fri, 07 Jul 2023 14:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 62678 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: security patch To: Bruno Victal Cc: 62678-done@debbugs.gnu.org Mail-Followup-To: 62678@debbugs.gnu.org, me@tobias.gr, mirai@makinata.eu Received: via spool by 62678-done@debbugs.gnu.org id=D62678.1688739766866 (code D ref 62678); Fri, 07 Jul 2023 14:23:02 +0000 Received: (at 62678-done) by debbugs.gnu.org; 7 Jul 2023 14:22:46 +0000 Received: from localhost ([127.0.0.1]:43566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHmM7-0000Dr-6T for submit@debbugs.gnu.org; Fri, 07 Jul 2023 10:22:46 -0400 Received: from tobias.gr ([80.241.217.52]:51456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHmM1-0000Dc-7J for 62678-done@debbugs.gnu.org; Fri, 07 Jul 2023 10:22:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=n0Hcu3i7Eb8iV VlMC2eUMKgpKQSQq+TrYuzc8UXbVRU=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=J43yFXhZuvZ9zEDt+I4ej7Ge5iyAl55aA++Njl 8Khz7NQwLmZCg76XaEuvs01RAHtb/LXrtYrUUz0jbFsk3dF3U1ItxXdTC5dtH7U4wwbYoW zmJYN7ggjxX6Gfcxt8LPfyakfqs3UwatgySUn4wbPXv3N4i4gmJcn9X3p+XdKXvBBpWuA2 haDl/CFt2yXI97WVX4nstQlOW0d+px2nRie/7OoTHojEwkCPXVN9R42iWktW19S5OBepAT owod9UtmxT6cHpZu+1bA4+UWC2akzBbw1KI7H6fVyHQUykAj9y/YfauxFSYAc/BqJltQHv jnPd91QQ7/hf/ccjd9UsM+TQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id c84dddf4 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 7 Jul 2023 14:22:21 +0000 (UTC) References: Date: Fri, 07 Jul 2023 16:22:01 +0200 In-reply-to: BIMI-Selector: v=BIMI1; s=default; Message-ID: <87wmzber45.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Tobias Geerinckx-Rice X-ACL-Warn: , Tobias Geerinckx-Rice via Guix-patches From: Tobias Geerinckx-Rice via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -6.69 X-Migadu-Queue-Id: A74FE50B71 X-Migadu-Spam-Score: -6.69 X-Migadu-Scanner: mx0.migadu.com X-TUID: XVRv8Tfsg2fy --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Bruno, Bruno Victal =E5=86=99=E9=81=93=EF=BC=9A > Incorporate advice from [2], which mitigates httpoxy[1]=20 > vulnerability and > disallows passing non-php files to the PHP backend. > > [1]: > [2]:=20 > , > note 4. This is a better comment than commit message. I made it so and=20 pushed your changes as commit=20 cbc14b3baea457cf2718b85f767d39ff3911ce91. Thanks! T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCZKggOg0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15N1gA/0p4sLULM7SdMhyD1XLP6pWJ/a4ZmKzdA1lJv98Y fHE0APwKaqXe+r15WzkH9KX9gtsrvq2OnEfiGTYisoyzEpfRAA== =EMsW -----END PGP SIGNATURE----- --=-=-=--