Hi Sebastian,

On the scenario, the point is not that community-outreach.bank.example.com
exists or is not clearly controlled by the same entity. I had been acting
under the assumption that the attacker knows of
community-outreach.bank.example.com and bank.example.com (presumably
through CT like you are discussing). Its just that there are two scenarios
which without the _dns-persist privacy leak the attacker cannot
differentiate and with the _dns-persist privacy leak the attacker can
differentiate.

Scenario 1: community-outreach.bank.example.com and bank.example.com are
both behind a CDN with two separate origin servers. Although both clearly
operated by the bank, these could be two completely separate pieces of
back-end infrastructure (banks typically have many). So hacking
community-outreach.bank.example.com doesn't get you much closer to hacking
bank.example.com

Scenario 2: community-outreach.bank.example.com and bank.example.com are
run on the same origin server. So there hacking
community-outreach.bank.example.com does get you closer to hacking
bank.example.com.

Without _dns-persist accounturis this is a fairly hard problem to solve
(although there are some side channels still) and this type of
infrastructure obfuscation is a security advantage of using CDNs.
dns-persist can help the attacker differentiate between these two scenarios.

Hypothetical examples aside, I operate domains that are run like this (one
ACME account behind a CDN) where they would not be likable to the same
origin unless I exposed my ACME account uri in a public DNS record.

Also please note this is assuming a 2-cert CDN model where the CDN operates
a public cert and the origin server operates a second public cert. I think
the main potential damage of this is just infrastructure visibility/mapping
that can happen from behind a CDN.

Best,
Henry

On Mon, Apr 27, 2026 at 8:51 PM Sebastian Robin Nielsen <sebastian=
[email protected]> wrote:

> I would rather like the idea of sha256(account_public_key || domain)
>
> which would allow generating the DNS-PERSIST-01 record offline before the
> account is even created, and before said computer even have touched the
> internet for the first time.
>
>
>
>
>
> However, your scenario is even more far-fetched. A domain below the main
> label (the first label after the public suffix) should always be considered
> in ownership of the same entity ( unless clear that its not, like
> [customer].some_saas_service.com – but in that case the some_saas_service
> will usually manage the acme account for the customer or even have a
> wildcard like *.some_saas_service.com)
>
>
>
> So in your case, the attacker would only need to scan the CT logs for *.
> bank.example.com and would immediately find
> community-outreach.bank.example.com .
>
> If wildcard certs would be used, the attacker could simply search other
> resources like search engine statistics, deep link scanning, etc to find
> the resource ”community-outreach.bank.example.com”
>
>
>
> Note here: the attacker would need to know about the subdomain
> community-outreach.bank.example.com to be able to query its accounturi.
>
>
>
>
>
> Theres only one case I can see, and that is if a customer runs a site,
> like:
>
> yohis_site.freewebhosting.com
>
>
>
> and then the same customer has a second site on the same webhost:
>
> Johans_web_development.freewebhosting.com
>
>
>
> and then he want to sign up at a web hosting company, showing off
> yohis_site in his CV, without the employer being able to see that he runs a
> competing Johans_web_development – so he can gain career before leaving
> johans_web_development behind.
>
>
>
> But in that case, I would see that freewebhosting would use different
> account keys for each customer. Or one account key for ALL customers.
>
>
>
>
>
>
>
> I just feel most of these examples are far off the tables that any
> anonymizing function would just add complexity to the protocol, when the
> few entities that DO need to isolate the services just need to create a
> second account.
>
>
>
> Only way I could see creating a second account would be infeasible, is if
> the account cost money and require EAB, and the service provider then
> already have an account with a high tier – like unlimited certificates with
> unlimited SANs.
> But in that case, in this case, bank.example.com is actually better using
> his paid account for the more ”sensitive” services ( bank.example.com) ,
> and then using a free letsencrypt account for lets say
> community-outreach.bank.example.com
>
>
>
>
>
> Best regards, Sebastian Nielsen
>
>
>
>
>
> *Från:* Henry Birge-Lee <[email protected]>
> *Skickat:* den 28 april 2026 01:12
> *Till:* Shiloh Heurich <[email protected]>
> *Kopia:* Mike Ounsworth <[email protected]>; Seo Suchan <
> [email protected]>; Shiloh Heurich <[email protected]>;
> [email protected]
> *Ämne:* [Acme] Re: I-D Action: draft-ietf-acme-dns-persist-01.txt
>
>
>
> Hi all,
>
>
>
> I am glad this conversation came up. I am particularly glad Mike and
> Shiloh expressed openness to revisiting RFC 8657. As I have stated before,
> a broader goal of mine is to keep these two recommendations in lockstep, so
> I think expanding the conversation to include RFC 8657 behavior improves
> the value this work can have.
>
>
>
> As for the core question of "is privacy leakage from shared account URIs a
> concern?" I think it varies by subscriber, but there is a class of
> subscriber for which it is absolutely a concern. Below is a plausible
> example to illustrate it for a large bank enterprise. (this is similar
> to Sebastian's analysis but more focused on enterprises)
>
>
>
>
>
> ----- BENIGN CONTEXT -----
>
> Example Bank operates bank.example.com for security-critical services
> like online banking. This domain is at the top of the security team and
> SOC's mind and gets regular software patches.
>
>
>
> community-outreach.bank.example.com is run by the community outreach
> division using some out-of-the-box hosting software and the engineer that
> originally made it left the bank
>
>
>
> Now a major web hosting vulnerability like react2shell comes up.
> bank.example.com is patched immediately but the long tail non-critical of
> bank assets like community-outreach.bank.example.com get the patches
> slower as part of a more general security rollout.
>
>
>
> Lets assume  both of these domains ( community-outreach.bank.example.com
> and bank.example.com ) live behind a CDN so by IP address correlation it
> is difficult to understand origin server hosting (the DNS records for these
> two domains may host thousands of other domains).
>
>
>
> ----- ADVERSARY EXPLOITATION VIA DNS-PERSIST PRIVACY LEAK -----
>
>
>
> An adversary wants to gain control of the web hosting infrastructure for
> bank.example.com to steal bank user logins/session-tokens, and initiate
> malicious transactions.
>
>
>
> The adversary scans _dns-persist.bank.example.com and notices acme
> account URI ca.example.com/acc/123
>
>
>
> The adversary does a global subdomain scan of bank.example.com and finds
> community-outreach.bank.example.com and similarly scans _
> dns-persist.community-outreach.bank.example.com
>
>
>
> The adversary notices the same acme account URI ca.example.com/acc/123
>
>
>
> The adversary now tries all known vulnerabilities against
> community-outreach.bank.example.com and finds that it was never patched
> to react2shell.
>
>
>
> The adversary exploits react2shell, gains shell access on the origin
> server and because the web hosting infrastructure is shared with
> bank.example.com the adversary can compromise that site as well.
>
>
>
> ----- EXPLOIT COMPLETE -----
>
>
>
> I wanted to put this full end-to-end example to illustrate why in certain
> contexts this side channel can pose a serious vulnerability. Had it not
> been for the side channel the adversary would have no way of knowing that
> community-outreach.bank.example.com and bank.example.com shared hosting
> infrastructure. I think there is also an element of probable realism here.
> For example 1) many enterprises do have different web assets at different
> levels of security scrutiny 2) It is not uncommon for front-end web hosting
> infrastructure to be found vulnerable to serious CVEs that can be exploited
> from the outside. Hosting infrastructure correlation (particularly
> something that could be effective even behind a CDN) poses a real risk.
>
>
>
> With that said there are certainly subscribers for which this is not a
> risk. If an ACME account only operates a single domain for example, there
> is no risk to using the normal account uri. Additionally, infrastructure
> not behind a CDN or load balancer typically introduces the same privacy
> leakage via shared DNS records (if domain A and domain B point to an IP
> doesn't look like a CDN odds are they share hosting infrastructure). I
> would argue that this attack vector really only comes into play once you
> eliminate the immediate shared DNS privacy leak. So while some subscribers
> may be sensitive to this, it does not pertain to everyone.
>
>
>
> Also regarding approaches, I somewhat liked the SHA256(accounturi ||
> domain_name), but upon further thought I don't endorse that technique at
> all. Lets assume the adversary has access to a GPU farm (or just single
> GPU) capable of operating at 1 GH/s. This is 10^9 hashes solved each
> second. My Let's Encrypt account URI has 10 numerical digits so we can
> assume it comes from a space of roughly 10^10. If an adversary
> saw SHA256(accounturi || domain_name) in a DNS record, it would take on the
> order 10s (probably less) to recover the underlying ACME account uri just
> by iterating through the entire space and computing all the hashes in the
> forward direction. Some optimization may be needed to generate candidate
> strings on the GPU, but we should assume the adversary is capable of that.
> If the scheme of public hashing is to work, it needs to be keyed on a
> higher-entropy secret. I would propose ACME account public key, but I
> really don't like proposals that break key agility. In light of the
> challenges with hashing I think the CA keeping a lookup table is actually
> not that bad. Even moving to an HMAC somehow the parties both need to know
> the key (which would likely just end up being a CA-side database), so I
> don't immediately see an improvement over a trivial CA mapping database.
>
>
>
> Regarding fail open and mandate: I agree not all 120 CAs in CCADB are
> going to put in an optional feature. However I do think there are still
> several reasonable controls customers have to protect against account
> linkage attacks. The customer can 1) not use this new method and continue
> with alternative validation methods that are already supported 2) switch to
> a CA that does support the anonymized feature.
>
>
>
> Given that several people feel this is not an issue for all subscribers
> and only some, it does seem to make sense to have some level of
> flexibility. The simplicity of the normal account URI (and the precedent of
> using this that was already set up by RFC 8657) I think merits the
> continued inclusion of this in the draft as an option.
>
>
>
> Best,
>
> Henry
>
>
>
>
>
> On Mon, Apr 27, 2026 at 12:59 PM Shiloh Heurich <[email protected]>
> wrote:
>
> On the consensus question: yes, worth addressing in the draft, not as a
> Security Considerations footnote, for two reasons:
>
>
>
> 1. Persistence amplification. Transient challenges (dns-01, http-01,
> tls-alpn-01) don't leave a persistent public record tied to an account.
> dns-persist-01 does. For any subscriber that deploys this on more than one
> domain, the default mode publishes a long-lived linkage. RFC 8657 permits
> the same linkage today, but CAA's deployment footprint has kept it small;
> dns-persist-01 is pitched as the common issuance path, so the disclosure
> will be qualitatively broader.
>
>
>
> 2. RFC 7258. Unique non-linkable per-domain tokens can be designed here.
> Leaving the default mode plaintext because CAA already does is the kind of
> path dependency the RFC tells us to resist.
>
>
>
> RFC 8657 §5.9 is worth revisiting in the same pass. The guidance there is
> soft, and if dns-persist-01 sees broader adoption than CAA, the §5.9
> conclusions shift. Updating §5.9 and defining the dns-persist-01
> construction against the same requirement keeps the two documents aligned.
>
>
>
> I'll open a tracking issue on the draft repo for the mechanism design. The
> mandate-vs-recommended-vs-advisory question belongs there too — it's
> coupled to mechanism choice and deserves dedicated treatment rather than
> being resolved in this thread.
>
>
>
> Shiloh
>
>
>
> On Apr 24, 2026, at 15:24, Mike Ounsworth <[email protected]>
> wrote:
>
> 
>
> Hi Henry,
>
>
>
> TL;DR:
>
> [Chair Hat]
>
> Process-wise, we have identified a privacy concern with this draft (and
> incidentally also with RFC 8657). Specifically, do we think that static
> ACME Account URIs in DNS records leaking which domain names belong to the
> same operator / ACME client is a privacy leak worth doing something about?
> Having been identified, I think the WG needs to have the discussion and
> come to consensus about whether this is worth addressing, or if we think
> it's fine the way it is.
>
>
>
>
>
>
>
> First, I worked at a public CA for 10 years as a hands-on security and
> compliance tester, so I am very sympathetic to how complex technical
> standards lead to operational problems for the CA. But in this context, I'm
> wearing my ACME WG Chair hat and reminding us that while the IETF's
> institutional stance does take into consideration vendor implementation
> burden, in a conflict between implementation complexity and end user
> privacy, end user privacy should win.
>
>
>
> Second, I'm not really proposing a solution here -- I've only been
> thinking about this for a grand total of like 5 minutes -- I'm just
> strawmanning art-of-the-possible.
>
>
>
> I see your point about making this hard to manually configure, and I think
> that's valid to consider. Almost certainly that's something we can design
> around. It might even be a point that can be solved by CA API design rather
> than RFCs -- ex.: the CA could compute SHA256(accounturi || domain_name)
> for you and show it to you in a UI; as long as it's possible for clients to
> compute it independently and for researchers to verify that it's unique and
> non-linkable according to the spec, then there's no problem with that. To
> me, a design like that would be "fail closed" in that an implementer could
> screw it up to not work at all (ie is incompatible with at least some
> clients), but can't screw it up so that it works insecurely.
>
>
>
> About the point "But CAA already uses plaintext AccountURI": I don't think
> that talking about security and privacy improvements of existing RFCs
> should be off the table. In this case, CAA (RFC 8657) is also an ACME WG
> document, so we have the power to update it if, in retrospect, we think
> that Security Consideration 5.9. Revelation of Account URIs wasn't strong
> enough and we want to improve it.
>
>
>
>
>
> > I first don't fully agree with the "fail open" point. If a subscriber
> chooses to use an anonymized account uri there is no way to downgrade that
> to break the anonymity.
>
>
>
> Can you please expand on that? I don't see in this draft or in RFC 8657
> where it specifies that the subscriber must be able to choose their own
> account uri per order. Am I missing something? I thought typically those
> are long-term identifiers assigned by the CA and the subscriber has no
> control over them.
>
> Or are you assuming that some CAs will offer Anonymized Account URI as a
> feature? I suspect that even if some CAs offer that, not all 120 CAs in the
> CCADB will. This is what I mean by "fail open" on an optional privacy
> feature. If we're not mandating something then we don't get to assume that
> it'll be implemented. If that thing has user privacy implications that we
> think are important, then we probably should be mandating it.
>
>
>
>
>
>
>
>
>
> On Fri, 24 Apr 2026 at 12:34, Henry Birge-Lee <[email protected]>
> wrote:
>
> Hi all,
>
>
>
> First regarding Seo's point: I have spoken to several other CAB/F
> participants about these types of privacy-focused account URIs and
> everybody I have spoken with is in favor of allowing this. I would also say
> that the general consensus that was present when Slaughter drafted the
> CAB/F ballot and (has to the best of my knowledge) persisted since is that
> the current language does allow these types of techniques. "identifying"
> needs only to be done by the CA and the schemes proposed here are
> sufficient for these purposes.
>
>
>
> Mike: you take a very IETF purist approach to this (which I appreciate). I
> will say that we are not the original sin here. The model for this approach
> was based off of RFC 8657 which, if it were to get used in mass, would
> create his same privacy leaking channel. I do think that the privacy
> conversations are slightly more relevant on this draft as we are
> introducing a mechanism that could save domain owners time and has the
> potential to see much larger adoption than RFC 8657 which was always an
> additional security mechanism (domain owners historically have not turned
> on a lot of the "extra" security features available to them).
>
>
>
> My overall stance on this is that the system you propose
> (SHA256(accounturi || domain_name)) is the logical recommended practice for
> avoiding this privacy issue and may be worth mentioning in the draft. I
> have had some CAs mention they would prefer just using a CA-side lookup
> table to avoid the technicalities of properly computing the hash, but I
> personally don't think this is too challenging. There is another
> interesting element to including this hash mechanism in the draft. Many CAs
> act as if RFCs (including those not referenced by the CAB/F) have
> implications for their compliance. This attitude I think causes CAs to
> prefer RFCs with as few algorithms specified as possible which creates the
> least compliance risk. I don't expect the WG will be particularly
> sympathetic to this stance, but I think its worth mentioning as compliance
> issues and overly-complex standards can cause real damage in the CA
> ecosystem.
>
>
>
> As for: does SHA256(accounturi || domain_name) need to be a mandated
> approach? I first don't fully agree with the "fail open" point. If a
> subscriber chooses to use an anonymized account uri there is no way to
> downgrade that to break the anonymity. I do see the point of path of least
> resistance and CAs will probably just operate with the default ACME account
> URI and create this leakage channel no matter how many security
> considerations we put in. However, I sort of see this from a broader
> perspective:
>
>
>
> 1. Consistency among standards is important. RFC 8657 already introduced
> this (including use of the traditional account URI) and the syntax of this
> record is largely copied from that standard. I have hesitation implementing
> anything that would make RFC 8657-style records invalid in this context.
> There is a security pro to this as well that some could recommend copying a
> dns-persist  record into a CAA record for added security and this could
> cause an uptick in RFC 8657 adoption so long as the standards are
> compatible.
>
>
>
> 2. Simplicity of standards is important: I expect many people will upload
> this record by hand. Its not too hard to find the ACME account uri and then
> manually construct <ca name>; accounturi=<account uri from ACME command>.
> As soon as we put in a hashing requirement, the amount of effort for this
> manual construction goes up like 10x. Have you ever tried to validate a
> NSEC3 record by hand? Its doable but a real hassle and you never really
> know if you got it right until you try it. Obviously simple tooling could
> help with these records but if there is a way to keep them human readable
> and human writable I think that is preferred.
>
>
>
> 3. Are we really fixing anything? The CAB/F ballot already permits normal
> account URIs for CA subscriber accounts. Making this ACME draft mandate
> hashed account URIs doesn't fully close this channel. Also, if you are
> concerned about people taking the easy way out, as long as non-ACME
> supports "easy" account uris, people might just use ACME less to avoid the
> hassle.
>
>
>
> I normally target security and privacy that is comparable to the broader
> ecosystem a technology is embedded in and here there are two precedents
> that do not have this level of security (RFC 8657 and the CAB/F ballot).
> Thus, I have some hesitation forcing applicants to use the hashed account
> URIs, but I am open to including this technique in the draft and possibly
> replacing the CA lookup table approach. I still think good old simple
> account URIs should still be accepted.
>
>
>
> Best,
>
> Henry
>
>
>
> On Thu, Apr 23, 2026 at 8:32 PM Seo Suchan <[email protected]> wrote:
>
> 1. ACME accounturi wasn't required to be random.: current Let's Encrypt's
> accounturi format is just a counter from 0 for each accounts it registered
> after https://acme-v02.api.letsencrypt.org/acme/acct/ , so it's trivial
> to try every account it have if there is a match.
>
>
>
> 2. CAB side of persistence dcv requirement have this paragraph:
> (3.2.2.4.22)
>
>  can said if outside observer can't know which account it points to
>
> >The issue-value MUST contain an accounturi parameter, where the parameter
> value is
> >a unique URI (as described by RFC 8657, Section 3) identifying the
> account of the Applicant
> >which requested validation for this FQDN;
>
> on could say if 3rd part don't know which account txt record it points to
> that isn't 'identifying' an account. I think we should add this anyway but
> I thought I should mention this.
>
> 26. 4. 24. 12:16에 Mike Ounsworth 이(가) 쓴 글:
>
> Hi Shiloh,
>
>
>
> > On the privacy point, I think the right approach is for the CA to issue
> distinct opaque aliases per validation domain name, or per small group of
> domains, rather than reusing one visible identifier everywhere. That avoids
> cross-domain correlation without needing to change `accounturi` to an array.
>
>
>
> I do think that Security Consideration section 7.2.2 is well-written and
> clear about the benefits and risks related to using anonymous aliases here
> -- that CAs who care about privacy issuing to subscribers who care about
> privacy should use the anonymized alternative URI scheme described in 7.2.2.
>
>
>
> But I think the point being raised here is that the mechanism described by
> 7.2.2 is fail-open; ie if a lazy CA uses non-anonymized URIs here, then the
> subscriber doesn't get privacy, and that's it. In particular, as I
> understand it, the ACME WG would be building a mechanism into the ACME
> protocol that leaks extremely publicly which domains belong to the same
> ACME account.
>
>
>
> Reminder about RFC7258:
>
> Abstract
>
>
>
>    Pervasive monitoring is a technical attack that should be mitigated
>
>    in the design of IETF protocols, where possible.
>
>
>
> So I think it's worth putting our thinking hats on about whether we can
> design the acme dns-persist-01 mechanism so that unique non-linkable tokens
> are baked into the protocol. For example, if the client constructs the
> token out of pieces of the order object, such as SHA256(accounturi ||
> domain_name) or HMAC(domain_name, accounturi). In practice, accounturi is
> basically a high-entropy secret, right, so salt it with the domain name and
> you've got something that's unique per domain, easy to construct and
> validate, and into password cracking or bitcoin mining territory to
> de-anonymize. And now, the laziest possible CA implementation is to compute
> SHA256(accounturi || domain_name) at the time of the neworder and stick it
> in a lookup table, and now the behaviour we wanted in the first place is
> the "short-cut" instead of something we have to beg for in a Security
> Consideration.
>
>
>
> (that said, I'm not super familiar with the specifics and motivations of
> this draft, so I'd be happy if I'm off-base)
>
>
>
>
>
> On Wed, 15 Apr 2026 at 13:36, Shiloh Heurich <shiloh=
> [email protected]> wrote:
>
> On Apr 4, 2026, at 01:17, Seo Suchan <[email protected]> wrote:
> >
> > accounturi in 3.1 challenge object need to be arrays of string not a
> single string to be used to be able to give any alternative uris: currently
> there is only one choice for client. to actually able to hide record we'd
> need something per domain name: hmac that uses account publickey as shared
> key and domain name as message?
>
> I think this raises two distinct questions:
>
> 1. Does the challenge object need to carry multiple acceptable
> `accounturi` values?
> 2. Does the current alternative-URI text provide meaningful privacy?
>
> My reading is that an array is not necessary if the intended model is that
> the CA tells the client the single `accounturi` value it expects in DNS for
> that validation attempt. That value could be either the canonical ACME
> account URL or a CA-issued opaque alias for the same account. In this model
> the client does not need a choice; it just uses the value from the
> challenge.
>
> I agree that the draft is not clear enough on this today. The current text
> about the client verifying that an alternative URI "identifies the same
> account" is confusing. If the CA provides an opaque alternative URI, the
> client generally cannot verify that mapping independently and has to rely
> on the challenge object.
>
> On the privacy point, I think the right approach is for the CA to issue
> distinct opaque aliases per validation domain name, or per small group of
> domains, rather than reusing one visible identifier everywhere. That avoids
> cross-domain correlation without needing to change `accounturi` to an array.
>
> I do not think an HMAC construction using the account public key is the
> right primitive here. HMAC requires a secret key, and the account public
> key is public. If a CA wants deterministic per-domain aliases internally,
> that is better treated as a CA implementation detail using CA-held secret
> material, not something the client derives.
>
> My preference would be to:
> - keep `accounturi` as a single string,
> - clarify that it is the specific value the CA expects for that validation
> attempt,
> - clarify that privacy-preserving alternatives may be per-domain opaque
> aliases, and
> - clarify that pre-provisioning without a challenge uses the canonical
> account URL unless the CA provides alternatives (e.g. out of band).
>
> If there is a concrete case where the client needs to choose among
> multiple simultaneously valid identifiers, then an array may be worth
> considering. For now, this seems more like a clarity problem than a
> field-shape problem.
>
> Shiloh
>
> _______________________________________________
> Acme mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
> _______________________________________________
> Acme mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
> _______________________________________________
> Acme mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
> _______________________________________________
> Acme mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
_______________________________________________
Acme mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to