POST-Data of finished WebResourceRequest still found in process-dump #5402
Unanswered
Urmeli0815
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
we have a C++-Application that uses the WebView2-SDK (currently 1.0.3351.48) to embed a web-view. We use the
add_WebResourceRequestedmethod to intercept & handle requests in C++.In a security test we made a process-dump of our process after a POST-Request was handled which contained a UUID in the POST-Data.
What we found (most of the time, not always) were some string remains of the POST-Data in the process-dump. They always looked something like this:
We always saw these
khasPostDataandhpostDataxstrings in the dump.My question would be: is it possible that the code in EmbeddedBrowserWebView.dll reads the POST-Data from the Web-View via IPC, but after processing it doesn't zero out the memory so that the data would still be visible in a dump? I assume there is some kind of cache in use to prevent reallocations.
It would be great if you could provide some information about the internals here.
Beta Was this translation helpful? Give feedback.
All reactions