CVE-2003-1227: Code Injection

Published Dec 31, 2003
·
Updated

PHP remote file include vulnerability in index.php for Gallery 1.4 and 1.4-pl1, when running on Windows or in Configuration mode on Unix, allows remote attackers to inject arbitrary PHP code via a URL in the GALLERYBASEDIR parameter, a different vulnerability than CVE-2002-1412. NOTE: this issue might be exploitable only during installation, or if the administrator has not run a security script after installation.

Affected Software

2 affected components
Gallery Project Gallery=1.4_pl1
Gallery Project Gallery=1.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Disable Configuration mode after installation; do not run Gallery 1.4 or 1.4-pl1 in Configuration mode on Unix.

    GalleryCMS Configuration mode = disabled
  2. Compensating control

    Do not run Gallery 1.4 or 1.4-pl1 on Windows hosts. If Gallery 1.4 or 1.4-pl1 is currently hosted on Windows, restrict access to the installation/configuration interface (index.php) or migrate to a non-Windows host until the product is secured.

  3. Operational

    Run the GalleryCMS security script provided with the distribution immediately after installation (ensure the administrator has executed the security script for Gallery 1.4 or 1.4-pl1).

Event History

Dec 31, 2003
CVE Published
05:00 AM
Data Sourced
via NVD·05:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 16, 2005
CVE Published
via MITRE·08:00 AM
Data Sourced
via MITRE·08:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2003-1227?

CVE-2003-1227 is classified as a high severity vulnerability due to its potential for remote code execution.

2

How do I fix CVE-2003-1227?

To fix CVE-2003-1227, upgrade to Gallery version 1.5 or later, which addresses this vulnerability.

3

What software is affected by CVE-2003-1227?

CVE-2003-1227 affects Gallery versions 1.4 and 1.4-pl1 when running on Windows or in Configuration mode on Unix.

4

What type of vulnerability is CVE-2003-1227?

CVE-2003-1227 is a remote file inclusion vulnerability that allows attackers to inject arbitrary PHP code.

5

Can CVE-2003-1227 be exploited remotely?

Yes, CVE-2003-1227 can be exploited remotely if an attacker can control the GALLERY_BASEDIR parameter.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203