<?xml version="1.0" encoding="UTF-8"?>
<cvrf:cvrfdoc xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:cvrf-common="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/common" xmlns:cvrf="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/cvrf">
    <cvrf:DocumentTitle>FortiGate privilege escalation through restore config</cvrf:DocumentTitle>
    <cvrf:DocumentType>Fortinet PSIRT Advisories</cvrf:DocumentType>
    <cvrf:DocumentPublisher Type="Vendor">
        <cvrf:ContactDetails>
            Fortinet PSIRT Contact:
            Website: https://fortiguard.fortinet.com/faq/psirt-contact
        </cvrf:ContactDetails>
     </cvrf:DocumentPublisher>
    <cvrf:DocumentTracking>
        <cvrf:Identification>
            <cvrf:ID>FG-IR-17-053</cvrf:ID>
        </cvrf:Identification>
        <cvrf:Status>Final</cvrf:Status>
        <cvrf:Version>1</cvrf:Version>
        <cvrf:RevisionHistory>
            <cvrf:Revision>
                <cvrf:Number>1</cvrf:Number>
                <cvrf:Date>2019-11-14T00:00:00</cvrf:Date>
                <cvrf:Description>Current version</cvrf:Description>
        </cvrf:Revision>
       </cvrf:RevisionHistory>
        <cvrf:InitialReleaseDate>2019-11-14T00:00:00</cvrf:InitialReleaseDate>
        <cvrf:CurrentReleaseDate>2019-11-14T00:00:00</cvrf:CurrentReleaseDate>
    </cvrf:DocumentTracking>
    <cvrf:DocumentNotes>
        <cvrf:Note Title="Summary" Type="Summary" Ordinal="1">
            A privilege escalation vulnerability in FortiOS may allow admin users to elevate their profile to super_admin, via restoring modified configurations.
        </cvrf:Note>
        <cvrf:Note Title="Impact" Type="General" Ordinal="2">
            Escalation of privilege
        </cvrf:Note>
        <cvrf:Note Title="Affected Products" Type="General" Ordinal="3">
            FortiOS 6.0.0 to 6.0.6FortiOS 5.6.0 to 5.6.10FortiOS 5.4 all versions and below.
        </cvrf:Note>
        <cvrf:Note Title="Solutions" Type="General" Ordinal="4">
            FortiOS 6.0 upgrade to 6.0.7 or 6.2.0 and aboveFortiOS 5.6 upgrade to 5.6.11 and aboveFortiOS 5.4 and below upgrade to 5.6.11 or aboveWorkarounds:The conditions to achieve privilege escalation via this vulnerability are as follows:* Regular mode (no VDOM):The user&#39;s profile &#34;Administrator Users&#34; and &#34;Maintenance&#34; privileges are both set to &#34;read-write&#34;* VDOM mode:The user&#39;s profile &#34;Administrator Users&#34; and &#34;Maintenance&#34; privileges are both set to &#34;read-write&#34;, and the user&#39;s profile&#39;s scope is set to &#34;global&#34;The following CLI commands prevent those conditions to be met:* Regular mode:config system accprofile edit [profile-name] set sysgrp custom config sysgrp-permission set admin none set mnt none end nextend* VDOM mode:config system accprofile edit [profile-name] set scope vdom set sysgrp custom config sysgrp-permission set admin none set mnt none end nextendRevision History:04-02-2019 Initial version08-21-2019 New fix on 5.6.11 released.11-14-2019 New fix on 6.0.7 released.05-22-2020 Add Reference.
        </cvrf:Note>
    </cvrf:DocumentNotes>
    <cvrf:DocumentReferences>
        <cvrf:Reference>
            <cvrf:URL>https://fortiguard.fortinet.com/psirt/FG-IR-17-053</cvrf:URL>
            <cvrf:Description>FortiGate privilege escalation through restore config</cvrf:Description>
        </cvrf:Reference>
        <cvrf:Reference>
            <cvrf:URL>https://kb.fortinet.com/kb/documentLink.do?externalID=FD45563</cvrf:URL>
            <cvrf:Description>https://kb.fortinet.com/kb/documentLink.do?externalID=FD45563</cvrf:Description>
        </cvrf:Reference>
    </cvrf:DocumentReferences>
    <cvrf:Acknowledgments>
        <cvrf:Acknowledgment>
            <cvrf:Description>Fortinet is pleased to thank independent researcher youssef El GARROUM for reporting this vulnerability under responsible disclosure.</cvrf:Description>
        </cvrf:Acknowledgment>
    </cvrf:Acknowledgments>
    <Vulnerability Ordinal="1">
        <Title>FortiGate privilege escalation through restore config</Title>
        <cvrf:CVE>CVE-2017-17544</cvrf:CVE>
        <CVSSScoreSets>
            <ScoreSetV3>
                <BaseScoreV3>5.3</BaseScoreV3>
                <VectorV3>CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:F/RL:X/RC:X</VectorV3>
            </ScoreSetV3>
        </CVSSScoreSets>
        <References Type="Self">
            <Reference>
                <URL>https://fortiguard.fortinet.com/psirt/FG-IR-17-053</URL>
                <Description>FortiGate privilege escalation through restore config</Description>
            </Reference>Reference>
            <Reference>
                <URL>https://kb.fortinet.com/kb/documentLink.do?externalID=FD45563</URL>
                <Description>https://kb.fortinet.com/kb/documentLink.do?externalID=FD45563</Description>
            </Reference>
        </References>
    </Vulnerability>
</cvrf:cvrfdoc>