[BUG] At Least Some Special Characters are Allowed in ai_user and ai_session Cookie Values
See original GitHub issueDescription/Screenshot
I recently observed that forward-slash (/
) and plus sign (+
) characters are there in the sdk generated random identifiers. As mentioned in the documentation, app insights SDK track these values in ai_user
and ai_session
cookies. Recently one of our request was get blocked by Azure WAF rules because the ai_session
cookie was containing a illegal value. The value was something like,
RqjfPhfhetEwksnxdxnvxhje4/ls|3425564716255|3426573612432
which contains /ls
in the value, which we believe the reason for the WAF block.
(Please note this is a modified cookie value)
ls
is a command use by Unix-like operating systems.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
What are allowed characters in cookies? - Stack Overflow
According to the ancient Netscape cookie_spec the entire NAME=VALUE string is: a sequence of characters excluding semi-colon, ...
Read more >ApplicationInsights-JS/aisdk.0.0.17.js.map at master - GitHub
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may...
Read more >microsoft/applicationinsights-web-basic - UNPKG
ES3 only, IE8 just in case any page checks for presence/absence of the ... 5 symbols in base64, almost maxint\r\n while (random >...
Read more >Viewing online file analysis results for 'IPFilter.exe'
IPFilter.exe. This report is generated from a file or URL submitted to this webservice on November 17th 2018 05:04:19 (UTC) and action script...
Read more >Renovate Bot Package Diff
- Use this method for sending error telemetry as traditional events to App Insights. This method will automatically drop error properties in certain...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes anything can be inside a cookie, cookies are not “executed”
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.