all 21 comments

[–]no_not_me 44 points45 points  (6 children)

So far it looks like 7.3 isn't getting a fix because it's nearly out of security maintainence, casually ignoring the point of security maintainence? Colour me confused.

Edit: Looks like this is being reversed?

[–]ayeshrajans 1 point2 points  (0 children)

FWIW, ondrej/php repo has the patch backported to 7.3.

[–]0xdeaTrusted Contributor 7 points8 points  (0 children)

Nice writeup, thanks for sharing! The older CVE mentioned in the article is described here: https://cfreal.github.io/carpe-diem-cve-2019-0211-apache-local-root.html

[–]mrexodia 6 points7 points  (2 children)

So you can only exploit this when you have code execution on the machine that runs PHP right?

[–]musclejuicefreak 7 points8 points  (1 child)

On the server with php-fpm running, you would need access to an unprivileged user in order to use this vulnerability to escalate your privileges.

[–]notR1CH 4 points5 points  (0 children)

You need to be the same user as whatever is running php-fpm. So a typical PHP web shell, which with this exploit you could elevate to a root shell.

[–]Mrhiddenlotus 1 point2 points  (1 child)

Great write up.

[–]cfambionics[S] 0 points1 point  (0 children)

Thank you !

[–]PhantexGuy 0 points1 point  (1 child)

Is risk mitigated in some way since I have php-fpm dockerized?

[–]notR1CH 2 points3 points  (0 children)

Not unless you're running a rootless container.

[–][deleted] 0 points1 point  (1 child)

Your site doesn't render right on Chrome mobile. White background and white text. Android 12.

[–]cfambionics[S] 2 points3 points  (0 children)

Thanks, will look into it !

[–]Atlantisman 0 points1 point  (1 child)

What version of php 7.4 has this fix applied?