External Service Interaction (DNS) | Community
Skip to main content
October 12, 2021
Solved

External Service Interaction (DNS)

  • October 12, 2021
  • 2 replies
  • 5086 views

Hi all

AEM got this External Service Interaction (DNS) and may I know any reference of how to fix this?

 

'It is possible to induce the application to perform server-side DNS lookups of arbitrary domain names.

The payload uge************l5oipzq7ejwa71du1nzbt5hv4lsa.burpcollaborator.net was submitted in the HTTP Host header.'

 

 

This hasn't been solved yet. I accidently clicked the correct reply. Guys.

 

 

 

Thanks .

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

Hi,

 

do I read your question correctly, that a security audit resulted in a finding, and that this finding mentions, that you can force AEM to perform DNS (Domain name system) lookups for hostnames which are sent via the HTTP host name?

2 replies

Asutosh_Jena_
Community Advisor
Community Advisor
October 12, 2021

@snow123 Can you please add some more information around this ask here?

What you would like to fix?

Snow123Author
October 12, 2021

Hi @asutosh_jena_ 

I have edited my question. 

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
October 17, 2021

Hi,

 

do I read your question correctly, that a security audit resulted in a finding, and that this finding mentions, that you can force AEM to perform DNS (Domain name system) lookups for hostnames which are sent via the HTTP host name?

Snow123Author
October 18, 2021

Hi @joerghoh ,

 

Thanks for the contribution. Yes. This is  a security audit result finding. 

May I know how to perform DNS (Domain name system) lookups for hostnames in AEM?

 

Thanks in advance.

 

 

joerghoh
Adobe Employee
Adobe Employee
October 23, 2021

Hi,

 

I am bit confused. Because "forcing AEM to perform a hostname lookup" (especially in the context of a security finding) is a completely different topic than performing a hostname lookup as part of normal operation (or in a customization).

 

Based on your initial posting the question "The payload uge************l5oipzq7ejwa71du1nzbt5hv4lsa.burpcollaborator.net was submitted in the HTTP Host header.'" suggests that an attacker can submit an arbitrary host name in the "Host" header of a request.

This header (as part of HTTP/1.1) specifies the hostname your client wants to address (as it is possible to host multiple hostnames on a single endpoint, speak: you can host a multitude of sites on a single site using distinct hostnames). And from I read your question, this hostname is resolved somewhere, causing a DNS lookup. And the security audit marks this as a security problem. Is that correct? If yes, you should create a AEM support ticket. And please also include the assessment, why this is a security problem at all. (My personal understanding is that this is not a security issue, and I am quite sure, that our security team is interested in the understanding of the security auditor as well.)

 

The other question "How do I do a hostname lookup in AEM" is not really specific to AEM. AEM is a java-based application and it uses the standard java APIs to resolve hostnames (e.g. using the class InetAddress) or one of the many other libraries which offer more highlevel services and do hostname lookups as part of this. There is nothing specific to AEM.

 

HTH,

Jörg