Vulnerabilities > CVE-2012-5002 - Buffer Errors vulnerability in Ricoh Dl-10 and Sr10 FTP Server

047910
CVSS 6.8 - MEDIUM
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
PARTIAL
network
ricoh
CWE-119
exploit available
metasploit

Summary

Stack-based buffer overflow in SR10 FTP server (SR10.exe) 1.1.0.6 in Ricoh DC Software DL-10 4.5.0.1, when the Log file name option is enabled, allows remote attackers to execute arbitrary code via a long USER FTP command.

Vulnerable Configurations

Part Description Count
Application
Ricoh
1
Hardware
Ricoh
1

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Exploit-Db

  • descriptionRicoh DC DL-10 SR10 FTP USER Command Buffer Overflow". CVE-2012-5002. Remote exploit for windows platform
    idEDB-ID:18658
    last seen2016-02-02
    modified2012-03-24
    published2012-03-24
    reportermetasploit
    sourcehttps://www.exploit-db.com/download/18658/
    titleRicoh DC DL-10 SR10 FTP USER Command Buffer Overflow"
  • descriptionRicoh DC Software DL-10 FTP Server (SR10.exe) <= 1.1.0.6 - Remote Buffer Overflow Vulnerability. CVE-2012-5002. Dos exploit for windows platform
    idEDB-ID:18643
    last seen2016-02-02
    modified2012-03-22
    published2012-03-22
    reporterJulien Ahrens
    sourcehttps://www.exploit-db.com/download/18643/
    titleRicoh DC Software DL-10 FTP Server SR10.exe <= 1.1.0.6 - Remote Buffer Overflow Vulnerability

Metasploit

descriptionThis module exploits a vulnerability found in Ricoh DC's DL-10 SR10 FTP service. By supplying a long string of data to the USER command, it is possible to trigger a stack-based buffer overflow, which allows remote code execution under the context of the user. Please note that in order to trigger the vulnerability, the server must be configured with a log file name (by default, it's disabled).
idMSF:EXPLOIT/WINDOWS/FTP/RICOH_DL_BOF
last seen2020-06-11
modified2017-07-24
published2012-03-22
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/ftp/ricoh_dl_bof.rb
titleRicoh DC DL-10 SR10 FTP USER Command Buffer Overflow

Saint

bid52235
descriptionRicoh DC Software DL-10 FTP Server USER Remote Code Execution
osvdb79691
titlericoh_dc_dl10_ftp_code_exec
typeremote