FortiosOperating system · Fortinet

CVE-2005-3057

HIGH · 10.0 CVSS v2.0 Published 2005-12-31
Fix available
A fix is available. Upgrade to after 3_beta or later.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
The FTP component in FortiGate 2.8 running FortiOS 2.8MR10 and v3beta, and other versions before 3.0 MR1, allows remote attackers to bypass the Fortinet FTP anti-virus engine by sending a STOR command and uploading a file before the FTP server response has been sent, as demonstrated using LFTP.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

This is a race condition (TOCTOU) vulnerability in FortiGate's FTP anti-virus scanning component. Attackers bypass the AV engine by sending a STOR command and uploading a malicious file before the FTP server can respond or initiate the scan, as demonstrated with LFTP. The vulnerability affects FortiOS 2.8MR10, v3beta, and versions before 3.0 MR1.

MitigationUpgrade FortiGate devices to FortiOS 3.0 MR1 or later, which contains the fix for this race condition in the FTP anti-virus engine.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
FortiosOperating system
Affected:<= 2.8_mr10<= 3_beta
FortigateHardware / appliance
Affected:= 2.8

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:N/AC:L/Au:N/C:C/I:C/A:C

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Determine the FortiOS version
    Log into the FortiGate CLI and run `get system status` or `get system version` to retrieve the installed FortiOS version string
    Affected if The displayed version is 2.8MR10 or lower, any 3.x beta version, or any version prior to 3.0 MR1 (such as 2.8MR7, 2.8MR9, 3.0alpha, 3.0beta)
  2. Verify FTP anti-virus scanning is enabled
    In the FortiGate web UI under Security Profiles > AntiVirus or via CLI with `get antivirus profile` or `show firewall profile`, check if an AV profile is assigned to FTP traffic inspection
    Affected if FTP AV scanning is actively configured and applied to FTP traffic policies, creating the condition where the race can be exploited

Your FortiGate is affected if it runs FortiOS version 2.8MR10 or lower, any 3.x beta, or any version before 3.0 MR1 AND has FTP anti-virus scanning enabled in security policies.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to a release after 3_beta
Interim mitigation

Upgrade FortiGate devices to FortiOS 3.0 MR1 or later, which contains the fix for this race condition in the FTP anti-virus engine.

Recommended fix Moderate confidence

FortiOS 3.0 MR1 or later

  1. Access the FortiGate unit through the web-based manager or console
  2. Navigate to System > Firmware or use the 'execute upgrade' command
  3. Upload the FortiOS 3.0 MR1 or later firmware image
  4. Reboot the FortiGate unit to apply the new firmware
  5. Verify the firmware version after reboot using 'get system status' command
  6. Test FTP functionality to confirm the anti-virus engine is functioning correctly
Caveat Major version upgrades from FortiOS 2.x to 3.x may include feature changes and configuration differences; review release notes and backup configuration before upgrading

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Fortios Scoped from the published advisory
  • Consultation2.0 h
  • Implementation3.0 h
  • Testing3.0 h
  • Review / QA2.0 h
10.0 hours of engineering $1,750
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,800.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2005-3057 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2005-3057 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data