CVE-2023-28633 (published 2023-04-05T16:15Z)

GLPI is a free asset and IT management software package. Starting in version 0.84 and prior to versions 9.5.13 and 10.0.7, usage of RSS feeds is subject to server-side request forgery (SSRF). In case the remote address is not a valid RSS feed, an RSS autodiscovery feature is triggered. This feature does not check safety or URLs. Versions 9.5.13 and 10.0.7 contain a patch for this issue.

CVSS v3 base score: 5.4, MEDIUM (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N)

Weakness information:
cwe_id: CWE-918
cwe_name: Server-Side Request Forgery (SSRF)
description: The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
extended_description: By providing URLs to unexpected hosts or ports, attackers can make it appear that the server is sending the request, possibly bypassing access controls such as firewalls that prevent the attackers from accessing the URLs directly. The server can be used as a proxy to conduct port scanning of hosts in internal networks, use other URLs such as that can access documents on the system (using file://), or use other protocols such as gopher:// or tftp://, which may provide greater control over the contents of requests.
         

Fix information:
repo_url: https://github.com/glpi-project/glpi
commit_details: repo_url: https://github.com/glpi-project/glpi
author: Cédric Anne
author_date: 2023-02-21 10:37:31+01:00
msg: Remove RSS feeds autodiscovery
repository: repo_url: https://github.com/glpi-project/glpi
repo_name: glpi-project/glpi
description: GLPI is a Free Asset and IT Management Software package, Data center management, ITIL Service Desk, licenses tracking and software auditing.
repo_language: PHP
owner: glpi-project
file_changes: filename: CHANGELOG.md
change_type: ModificationType.MODIFY
diff: @@ -22,6 +22,7 @@ The present file will list all changes made to the project; according to the
 
 #### Deprecated
 - `Glpi\Inventory\Conf::importFile()`
+- `RSSFeed::showDiscoveredFeeds()`
 - `Toolbox::checkValidReferer()`
 
 #### Removed

programming_language: Markdown
filename: RSSFeed.php
change_type: ModificationType.MODIFY
diff: @@ -790,14 +790,7 @@ class RSSFeed extends CommonDBVisible implements ExtraVisibilityCriteria
             echo Dropdown::getYesNo($this->fields['have_error']);
         }
         echo "</td>";
-        if ($this->fields['have_error']) {
-            echo "<td>" . __('RSS feeds found');
-            echo "</td><td>";
-            $this->showDiscoveredFeeds();
-            echo "</td>\n";
-        } else {
-            echo "<td colspan='2'>&nbsp;</td>";
-        }
+        echo "<td colspan='2'>&nbsp;</td>";
         echo "</tr>";
 
         $this->showFormButtons($options);
@@ -874,9 +867,12 @@ class RSSFeed extends CommonDBVisible implements ExtraVisibilityCriteria
      * Show discovered feeds
      *
      * @return void
+     *
+     * @deprecated
      **/
     public function showDiscoveredFeeds()
     {
+        Toolbox::deprecated();
         if (!Toolbox::isUrlSafe($this->fields['url'])) {
             return;
         }

programming_language: PHP