LiveActive security incident?Get immediate response
CVE Record

CVE-2018-25059: pastebinit server.go pasteHandler path traversal

A vulnerability was found in pastebinit up to 0.2.2 and classified as problematic. Affected by this issue is the function pasteHandler of the file server.go. The manipulation of the argument r.URL.Path leads to path traversal. Upgrading to version 0.2.3 is able to address this issue. The name of the patch is 1af2facb6d95976c532b7f8f82747d454a092272. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-217040.

LowCVSS 3.5Not KEV-listedUpdated
Glexia's TakeAutomated analysislow

Security readout for executives and security teams

Plain-English summary

CVE-2018-25059 is a low-severity path traversal issue in pastebinit. A user with some access on an adjacent network may be able to make the server read unintended files. The available sources identify versions 0.2.0 through 0.2.2 as affected and version 0.2.3 as the fix.

Executive priority

Treat this as a routine remediation item unless pastebinit is exposed to untrusted adjacent users. The business impact appears limited to possible unintended file disclosure. Prioritize upgrade during normal patch cycles, faster for shared or semi-trusted environments.

Technical view

The issue is CWE-22 in pastebinit's server.go pasteHandler. Handling of r.URL.Path can allow path traversal, with CVSS 3.1 score 3.5: adjacent attack vector, low complexity, low privileges required, no user interaction, and low confidentiality impact only.

Likely exposure

Exposure is limited to environments running pastebinit 0.2.0, 0.2.1, or 0.2.2. Risk is higher if the pastebinit server is reachable by adjacent network users who already have low-privilege access. No CPEs or broader product integrations are provided in the source bundle.

Exploitation context

The source bundle does not provide evidence of active exploitation, and KEV status is false. The CVSS vector indicates exploitation requires adjacent network position and low privileges. The documented impact is limited confidentiality exposure, with no integrity or availability impact stated.

Researcher notes

Evidence points to r.URL.Path handling in server.go pasteHandler as the vulnerable path. Sources name the fixing release and commit. No source in the bundle confirms exploitation in the wild, exploit maturity, affected operating systems, or practical file disclosure scope.

Mitigation direction

  • Upgrade pastebinit to version 0.2.3.
  • Confirm patch commit 1af2facb6d95976c532b7f8f82747d454a092272 is included.
  • Restrict pastebinit server access to trusted users and networks while upgrading.
  • Review vendor project guidance for any later security updates.

Validation and detection

  • Inventory deployed pastebinit instances and package versions.
  • Flag versions 0.2.0, 0.2.1, and 0.2.2 as affected.
  • Confirm running services use pastebinit 0.2.3 or later.
  • Check exposure boundaries for adjacent-network access and low-privilege users.
Prepared
Confidence
high
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-22: File access and web shell behavior lookup

File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

File access behavior lookup

The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2018-25059 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Low
CVSS
3.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
6Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
3.5CVSS 3.1LowCVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N2.11.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

3.5Low
CVSS 3.1 vector shape for CVE-2018-25059Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/apastebinit0.2.0, 0.2.1, 0.2.2Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-22 · source CWE mapping

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.