Target from: CVE Network

Intermediate, Rootable

CVE-2020-7247 / 0.0.0.0

4: Flags (2:system, env, root)
1: Service
3,600 pts

#headshot

Level 17 / Junior Hax0r

markuche / 57th Place

4: Flags found
1: Service discovered
3,600 pts
8 minutes

This is a target running a vulnerable OpenSMTPD instance of CVE-2020-7247.

Description

A vulnerability discovered in OpenSMTPD, OpenBSD's mail server was exploitable since May 2018 (commit a8e222352f, "switch smtpd to new grammar") and allows an attacker to execute arbitrary shell commands, as root

Environment details

The system is accessible at 10.0.100.33 and runs OpenSMTPD on Debian Buster on the default port (25/tcp).

Flags can be found at the usual places:

  • /root
  • /etc/passwd gecos
  • /etc/shadow password hash
  • env variable

References

Activity Stream

Latest activity on the platform

markuche managed to headshot [CVE-2020-7247], 23 months ago
markuche Gained access to data stored in environmental variables from CVE-2020-7247 for 700 points, 23 months ago
markuche Discovered the ETSCTF username flag under the /etc/shadow file from CVE-2020-7247 for 1000 points, 23 months ago
markuche Discovered the ETSCTF username gecos flag under the /etc/passwd file from CVE-2020-7247 for 800 points, 23 months ago
markuche Got the /root flag from CVE-2020-7247 for 1000 points, 23 months ago
markuche Connected to the smtp port of CVE-2020-7247 for 100 points, 23 months ago