Advisory

UBUNTU-CVE-2015-2348

Also known as: CVE-2015-2348

Summary

The record has no summary.

Details

The move_uploaded_file implementation in ext/standard/basic_functions.c in PHP before 5.4.39, 5.5.x before 5.5.23, and 5.6.x before 5.6.7 truncates a pathname upon encountering a \x00 character, which allows remote attackers to bypass intended extension restrictions and create files with unexpected names via a crafted second argument. NOTE: this vulnerability exists because of an incomplete fix for CVE-2006-7243.

Severity

Not rated by the source.

Dates

Published
2015-03-30 00:00 UTC
Modified
2026-04-22 10:06 UTC

Affected packages and fixes

php5

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 5.5.9+dfsg-1ubuntu4.9 (ecosystem)

Fixed versions

5.5.9+dfsg-1ubuntu4.9

Fix

  • Fixed version 5.5.9+dfsg-1ubuntu4.9
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences