Proxy-Authorization header received on server side

Credit: onofer dusan
Risk: Low
Local: No
Remote: Yes
CWE: CWE-200

CVSS Base Score: 4.3/10
Impact Subscore: 2.9/10
Exploitability Subscore: 8.6/10
Exploit range: Remote
Attack complexity: Medium
Authentication: No required
Confidentiality impact: Partial
Integrity impact: None
Availability impact: None

I'm following example Proxy authentication but it seems that not only proxy is receiving credentials for proxy. In log, which is generated at I can see header Proxy-Authorization: Basic .... httpclient.getCredentialsProvider().setCredentials( new AuthScope("", 80), new UsernamePasswordCredentials("proxy_user", "proxy_pass")); List<String> authpref = new ArrayList<String>(); authpref.add(AuthPolicy.BASIC); httpclient.getParams().setParameter(AuthPNames.PROXY_AUTH_PREF, authpref); HttpHost targetHost = new HttpHost("", 443, "https"); HttpHost proxy = new HttpHost("", 80); httpclient.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY, proxy); HttpGet httpget = new HttpGet("/path/logrequest.php"); HttpResponse response = httpclient.execute(targetHost, httpget); I'm using httpclient-4.1. --d. -- Dusan Onofer


Vote for this issue:


Thanks for you vote!


Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.

(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024,


Back to Top