{"id":44839,"date":"2023-05-23T23:27:31","date_gmt":"2023-05-23T19:27:31","guid":{"rendered":"https:\/\/news.cpanel.com\/?p=61953"},"modified":"2023-07-19T12:22:04","modified_gmt":"2023-07-19T07:52:04","slug":"cpanel-tsr-2023-0002-full-disclosure-xss-vulnerability","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cpanel-tsr-2023-0002-full-disclosure-xss-vulnerability\/","title":{"rendered":"cPanel TSR-2023-0002 Full Disclosure XSS vulnerability"},"content":{"rendered":"<p>cPanel TSR-2023-0001 Full Disclosure<\/p>\n<p><strong>SEC-673<\/strong><\/p>\n<p><strong>Summary<\/strong><\/p>\n<p>XSS vulnerability on \u2018Repair a MySQL Database\u2019 page in WHM<\/p>\n<p><strong>Security Rating<\/strong><\/p>\n<p>cPanel has assigned this vulnerability a CVSSv3.1 score of Severity: 6.1 CVSS:3.1\/AV:L\/AC:L\/PR:L\/UI:R\/S:U\/C:H\/I:L\/A:L Description<\/p>\n<p>It was possible for a cPanel user to create a database with javascript in the name. Then, the javascript would be fetched and executed when the server admin loaded the \u2018Repair a MySQL Database\u2019 page via WHM.<\/p>\n<p><strong>Credits<\/strong><\/p>\n<p>This issue was discovered by Aliz Hammond of watchTowr.com.<\/p>\n<p><strong>Solution<\/strong><\/p>\n<p>This issue is resolved in the following builds:<\/p>\n<p>11.112.0.1<br \/>\n11.110.0.6<br \/>\n11.108.0.16<br \/>\n11.102.0.33<\/p>\n<p><strong>SEC-672<\/strong><\/p>\n<p><strong>Summary<\/strong><\/p>\n<p>Authenticated RCE for webmail virtual accounts<\/p>\n<p><strong>Security Rating<\/strong><\/p>\n<p>cPanel has assigned this vulnerability a CVSSv3.1 score of 5.3 CVSS:3.1\/AV:L\/AC:L\/PR:L\/UI:N\/S:U\/C:L\/I:L\/A:L<\/p>\n<p><strong>Description<\/strong><\/p>\n<p>It is possible to craft a string that gets past the regex check performed via the deprecated Email::addforward API1 call. Subsequent calls to api1\/api2\/uapi calls to remove forwarders will remove the escape () characters in the string. This can turn the forwarder added with the string into a valid forwarder that allows for an RCE to the user\u2019s cPanel account.<\/p>\n<p><strong>Credits<\/strong><\/p>\n<p>This issue was discovered by John Lightsey.<\/p>\n<p><strong>Solution<\/strong><\/p>\n<p>This issue is resolved in the following builds:<\/p>\n<p>11.112.0.1<br \/>\n11.110.0.6<br \/>\n11.108.0.16<br \/>\n11.102.0.33<\/p>\n<p><strong>SEC-670<\/strong><\/p>\n<p><strong>Summary<\/strong><\/p>\n<p>HTTP request smuggling vulnerability in cpsrvd<\/p>\n<p><strong>Security Rating<\/strong><\/p>\n<p>cPanel has assigned this vulnerability a CVSSv3.1 score of 3.7 CVSS:3.1\/AV:N\/AC:H\/PR:N\/UI:N\/S:U\/C:L\/I:N\/A:N.<\/p>\n<p><strong>Description<\/strong><\/p>\n<p>\u2018cpanel::cpsrvd::read_socket_headers\u2019 is susceptible to a race condition on keep-alive requests from unprotected documents where the original request headers contain a \u2018Content-Length\u2019 header. This can occur when the original request contains a smuggled request that causes the readline to hang while reading the socket due to waiting on the condition provided by $\/ to be met. If a second keep-alive request comes in during this time, the entire keep-alive request can be appended to the smuggled request as part of its headers, thus causing the smuggled request to be processed when it should not have been.<\/p>\n<p><strong>Credits<\/strong><\/p>\n<p>This issue was discovered by Erik Ellsinger.<\/p>\n<p><strong>Solution<\/strong><\/p>\n<p>This issue is resolved in the following builds:<\/p>\n<p>11.112.0.1<br \/>\n11.110.0.6<br \/>\n11.108.0.16<br \/>\n11.102.0.33<\/p>\n<p><a title=\"\" href=\"https:\/\/news.cpanel.com\/wp-content\/uploads\/2023\/05\/TSR-2023-0002-Full-Disclosure.signed.txt\" target=\"_blank\" rel=\"noopener\">https:\/\/news.cpanel.com\/wp-content\/uploads\/2023\/05\/TSR-2023-0002-Full-Disclosure.signed.txt<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>cPanel TSR-2023-0001 Full Disclosure SEC-673 Summary XSS vulnerability on \u2018Repair a MySQL Database\u2019 page in WHM Security Rating cPanel has assigned this vulnerability a CVSSv3.1 score of Severity: 6.1 CVSS:3.1\/AV:L\/AC:L\/PR:L\/UI:R\/S:U\/C:H\/I:L\/A:L Description It was possible for a cPanel user to create a database with javascript in the name. Then, the javascript would be fetched and executed &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-44839","post","type-post","status-publish","format-standard","hentry","category-cpanel-news"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/44839","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=44839"}],"version-history":[{"count":1,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/44839\/revisions"}],"predecessor-version":[{"id":45079,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/44839\/revisions\/45079"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=44839"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=44839"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=44839"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}