[wp-trac] [WordPress Trac] #45046: IP validation improper loophole repair

WordPress Trac noreply at wordpress.org
Thu Oct 4 03:46:06 UTC 2018


#45046: IP validation improper loophole repair
--------------------------+-----------------------------
 Reporter:  wooir         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.9.8
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 wp-includes/http.php
 563 lines:
 if ( 127 === $parts[0] || 10 === $parts[0] || 0 === $parts[0]

 It should be modified to:
 if ( 127 === $parts[0] || 10 === $parts[0] || 0 === $parts[0] || 0 ===
 $parts[0]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45046>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list