samba — security advisory
The MS-RPC functionality in smbd in Samba 3.0.0 through 3.0.25rc3 allows remote attackers to execute arbitrary commands via shell metacharacters involving the (1) SamrChangePassword function, when the "username map script" smb.conf option is enabled, and allows remote authenticated users to execute commands via shell metacharacters involving other MS-RPC functions in the (2) remote printer and (3) file share management.
- Products
- samba
- Affected versions
- Not specified
- Fixed versions
- 3.0.25-1
- CVEs
- CVE-2007-2447
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 15:46 UTC · Revision 1
Source evidence
The MS-RPC functionality in smbd in Samba 3.0.0 through 3.0.25rc3 allows remote attackers to execute arbitrary commands via shell metacharacters involving the (1) SamrChangePassword function, when the "username map script" smb.conf option is enabled, and allows remote authenticated users to execute commands via shell metacharacters involving other MS-RPC functions in the (2) remote printer and (3) file share management.
osv:DEBIAN-CVE-2007-2447
samba
Fixed versions: 3.0.25-1
samba
Fixed versions: 3.0.25-1
samba
Fixed versions: 3.0.25-1
Complete source record
{
"id": "10d7c3056ea6092c8845bde65262ac3879a326562e51b87f4a1fa0765099a67a",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2007-2447",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2007-2447",
"summary": "The MS-RPC functionality in smbd in Samba 3.0.0 through 3.0.25rc3 allows remote attackers to execute arbitrary commands via shell metacharacters involving the (1) SamrChangePassword function, when the \"username map script\" smb.conf option is enabled, and allows remote authenticated users to execute commands via shell metacharacters involving other MS-RPC functions in the (2) remote printer and (3) file share management.",
"evidence": "osv:DEBIAN-CVE-2007-2447",
"products": [
{
"name": {
"value": "samba",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.0.25-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "samba",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.0.25-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "samba",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.0.25-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "DEBIAN-CVE-2007-2447",
"aliases": [
"DEBIAN-CVE-2007-2447"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.0.25-1"
}
]
}
],
"package": {
"name": "samba",
"purl": "pkg:deb/debian/samba?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2007-2447.json"
},
"ecosystem_specific": {
"urgency": "high"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.0.25-1"
}
]
}
],
"package": {
"name": "samba",
"purl": "pkg:deb/debian/samba?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2007-2447.json"
},
"ecosystem_specific": {
"urgency": "high"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.0.25-1"
}
]
}
],
"package": {
"name": "samba",
"purl": "pkg:deb/debian/samba?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2007-2447.json"
},
"ecosystem_specific": {
"urgency": "high"
}
}
],
"modified": "2026-10-21T17:47:38.440464077Z",
"provider": "osv",
"upstream": [
"CVE-2007-2447"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2007-2447"
]
},
"related_cves": [
{
"value": "CVE-2007-2447",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 398402,
"published_at": "2007-05-14T21:19:00+00:00"
}