Microsoft DLNA user agent

lucas.py 20 Reputation points
2023-02-13T19:52:21.84+00:00

Hi there,

I have a question regarding the Microsoft-DLNA DLNADOC/1.50 User-Agent. I am monitoring network traffic in my environment and I have noticed repeated requests of the following nature:

"GET /icon_sample.jpg HTTP/1.1

Connection: Keep-Alive

User-Agent: User-Agent: Microsoft-DLNA DLNADOC/1.50

Host: {sample_ip}:9197"

As you can see, the User-Agent header is mentioned twice in the request. I was wondering if this is a known issue, and if not, is there a way for me to report it to Microsoft? My environment is flagging this request as suspicious due to the repeated use of the User-Agent header.

Thank you in advance for your assistance,
-Lucas

Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
0 comments No comments
{count} votes

Accepted answer
  1. Gary Nebbett 6,216 Reputation points
    2023-02-14T20:26:18.1+00:00

    Hello Lucas,

    There does indeed seem to be a minor problem with the Windows.Media.Streaming DLL; it calls WinHttpOpen with an Agent parameter of "User-Agent: Microsoft-DLNA DLNADOC/1.50" when it should let WinHttpOpen add the "User-Agent: " header name.

    Windows_Media_Streaming!_DownloadFileFromDevice+0x1a4:
    call qword ptr [Windows_Media_Streaming!_imp_WinHttpOpen]
    > du /c99 @rcx
    "User-Agent: Microsoft-DLNA DLNADOC/1.50"
    

    Identifying the cause of the problem is easy but getting it fixed is a different matter - I don't know of any effective way of reporting such errors without a support contract with Microsoft. In any event, it will be a long time before it is fixed, so you will probably just have to accept this behaviour for the near to medium term.

    Gary


1 additional answer

Sort by: Most helpful
  1. Limitless Technology 44,766 Reputation points
    2023-02-14T17:02:31.3266667+00:00

    Hi. Thank you for your question and reaching out. I’d be more than happy to help you with your query

    It's not uncommon for a User-Agent header to be repeated in an HTTP request, as it can be added by both the client and intermediary devices such as proxies or firewalls. In this case, it's likely that the User-Agent header was added twice by the client making the request.

    That being said, if you believe this behavior is suspicious or may be indicative of a security issue, you may want to investigate further and determine the source of the requests. If you do identify a security issue, you can report it to Microsoft's Security Response Center at https://www.microsoft.com/en-us/msrc/report. However, it's important to note that repeating the User-Agent header alone is not necessarily indicative of a security issue, and may simply be an anomaly in the network traffic.

    If the reply was helpful, please don’t forget to upvote or accept as answer, thank you.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.