php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25683 Send mail from any address
Submitted: 2003-09-29 03:26 UTC Modified: 2003-09-29 05:39 UTC
From: reveille187 at hotmail dot com Assigned:
Status: Not a bug Package: Mail related
PHP Version: 4.3.2 OS: win32 xp sp1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: reveille187 at hotmail dot com
New email:
PHP Version: OS:

 

 [2003-09-29 03:26 UTC] reveille187 at hotmail dot com
Description:
------------
I'm not sure if anyone else noticed this... I run php 4.3.2 on my windows xp pc with apache 1.3. I don't have a domain name, and while exploring options on how to send mail from my pc, I found out you could send email from any address to anyone else without knowing thier password. Eg/ I could send hate mail from you@example.com where my real address is me@example.com.

Reproduce code:
---------------
<?php
ini_set("SMTP", "smtp.example.com");
ini_set("sendmail_from", "you@example.com");
mail("me@example.com", "Hate mail subject", "Body Text");
?>

Expected result:
----------------
An email in my inbox from you.

Actual result:
--------------
Same as above.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-29 05:36 UTC] sniper@php.net
RTFM. It's feature, not bug. 

 [2003-09-29 05:39 UTC] reveille187 at hotmail dot com
just checking, someone can cause some nice havoc with that feature. sorry.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 04:01:28 2024 UTC