1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725
|
<pre>Internet Engineering Task Force (IETF) S. Hollenbeck
Request for Comments: 7481 Verisign Labs
Category: Standards Track N. Kong
ISSN: 2070-1721 CNNIC
March 2015
<span class="h1">Security Services for the Registration Data Access Protocol (RDAP)</span>
Abstract
The Registration Data Access Protocol (RDAP) provides "RESTful" web
services to retrieve registration metadata from Domain Name and
Regional Internet Registries. This document describes information
security services, including access control, authentication,
authorization, availability, data confidentiality, and data integrity
for RDAP.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in <a href="./rfc5741#section-2">Section 2 of RFC 5741</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="http://www.rfc-editor.org/info/rfc7481">http://www.rfc-editor.org/info/rfc7481</a>.
Copyright Notice
Copyright (c) 2015 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
<span class="grey">Hollenbeck & Kong Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc7481">RFC 7481</a> RDAP Security Services March 2015</span>
Table of Contents
<a href="#section-1">1</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-2">2</a>
<a href="#section-2">2</a>. Conventions Used in This Document . . . . . . . . . . . . . . <a href="#page-2">2</a>
<a href="#section-2.1">2.1</a>. Acronyms and Abbreviations . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-3">3</a>. Information Security Services and RDAP . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-3.1">3.1</a>. Access Control . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-3.2">3.2</a>. Authentication . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-3.2.1">3.2.1</a>. Federated Authentication . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-3.3">3.3</a>. Authorization . . . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-3.4">3.4</a>. Availability . . . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-3.5">3.5</a>. Data Confidentiality . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-3.6">3.6</a>. Data Integrity . . . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-4">4</a>. Privacy Threats Associated with Registration Data . . . . . . <a href="#page-8">8</a>
<a href="#section-5">5</a>. Security Considerations . . . . . . . . . . . . . . . . . . . <a href="#page-9">9</a>
<a href="#section-6">6</a>. References . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-10">10</a>
<a href="#section-6.1">6.1</a>. Normative References . . . . . . . . . . . . . . . . . . <a href="#page-10">10</a>
<a href="#section-6.2">6.2</a>. Informative References . . . . . . . . . . . . . . . . . <a href="#page-11">11</a>
Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-13">13</a>
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-13">13</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
The Registration Data Access Protocol (RDAP) is specified in multiple
documents, including "Registration Data Access Protocol (RDAP) Query
Format" [<a href="./rfc7482" title=""Registration Data Access Protocol (RDAP) Query Format"">RFC7482</a>], "JSON Responses for the Registration Data Access
Protocol (RDAP)" [<a href="./rfc7483" title=""JSON Responses for the Registration Data Access Protocol (RDAP)"">RFC7483</a>], and "HTTP Usage in the Registration Data
Access Protocol (RDAP)" [<a href="./rfc7480" title=""HTTP Usage in the Registration Data Access Protocol (RDAP)"">RFC7480</a>].
One goal of RDAP is to provide security services that do not exist in
the WHOIS [<a href="./rfc3912" title=""WHOIS Protocol Specification"">RFC3912</a>] protocol, including access control,
authentication, authorization, availability, data confidentiality,
and data integrity. This document describes how each of these
services is achieved by RDAP using features that are available in
other protocol layers. Additional or alternative mechanisms can be
added in the future. Where applicable, informative references to
requirements for a WHOIS replacement service [<a href="./rfc3707" title=""Cross Registry Internet Service Protocol (CRISP) Requirements"">RFC3707</a>] are noted.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Conventions Used in This Document</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
<span class="grey">Hollenbeck & Kong Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc7481">RFC 7481</a> RDAP Security Services March 2015</span>
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a>. Acronyms and Abbreviations</span>
DNR: Domain Name Registry
HTTP: Hypertext Transfer Protocol
JSON: JavaScript Object Notation
RDAP: Registration Data Access Protocol
RIR: Regional Internet Registry
TLS: Transport Layer Security
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Information Security Services and RDAP</span>
RDAP itself does not include native security services. Instead, RDAP
relies on features that are available in other protocol layers to
provide needed security services, including access control,
authentication, authorization, availability, data confidentiality,
and data integrity. A description of each of these security services
can be found in "Internet Security Glossary, Version 2" [<a href="./rfc4949" title=""Internet Security Glossary, Version 2"">RFC4949</a>].
No requirements have been identified for other security services.
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. Access Control</span>
WHOIS does not include specific features to control access to
registration information. As described in the following sections,
RDAP includes features to identify, authenticate, and authorize
clients, allowing server operators to control access to information
based on a client's identity and associated authorizations.
Information returned to a client can be clearly marked with a status
value (see <a href="./rfc7483#section-10.2.2">Section 10.2.2 of [RFC7483]</a>) that identifies the access
granted to the client.
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a>. Authentication</span>
This section describes security authentication mechanisms and the
need for authorization policies to include them. It describes
requirements for the implementations of clients and servers but does
not dictate the policies of server operators. For example, a server
operator with no policy regarding differentiated or tiered access to
data will have no authorization mechanisms and will have no need for
any type of authentication. A server operator with policies on
differentiated access will have to construct an authorization scheme
and will need to follow the specified authentication requirements.
<span class="grey">Hollenbeck & Kong Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc7481">RFC 7481</a> RDAP Security Services March 2015</span>
WHOIS does not provide features to identify and authenticate clients.
As noted in <a href="#section-3.1.4.2">Section 3.1.4.2</a> of "Cross Registry Internet Service
Protocol (CRISP) Requirements" [<a href="./rfc3707" title=""Cross Registry Internet Service Protocol (CRISP) Requirements"">RFC3707</a>], there is utility in
allowing server operators to offer "varying degrees of access
depending on policy and need." Clients have to be identified and
authenticated to provide that utility.
RDAP's authentication framework needs to accommodate anonymous access
as well as verification of identities using a range of authentication
methods and credential services. To that end, RDAP clients and
servers MUST implement the authentication framework specified in
"Hypertext Transfer Protocol (HTTP/1.1): Authentication" [<a href="./rfc7235" title=""Hypertext Transfer Protocol (HTTP/1.1): Authentication"">RFC7235</a>].
The "basic" scheme can be used to send a client's user name and
password to a server in plaintext, base64-encoded form. The "digest"
scheme can be used to authenticate a client without exposing the
client's plaintext password. If the "basic" scheme is used, HTTP
over TLS [<a href="./rfc2818" title=""HTTP Over TLS"">RFC2818</a>] MUST be used to protect the client's credentials
from disclosure while in transit (see <a href="#section-3.5">Section 3.5</a>).
Servers MUST support either Basic or Digest authentication; they are
not required to support both. Clients MUST support both to
interoperate with servers that support one or the other. Servers may
provide a login page that triggers HTTP authentication. Clients
should continue sending the HTTP authentication header once they
receive an initial 401 (Unauthorized) response from the HTTP server
as long as the scheme portion of the URL doesn't change.
The Transport Layer Security protocol [<a href="./rfc5246" title=""The Transport Layer Security (TLS) Protocol Version 1.2"">RFC5246</a>] includes an optional
feature to identify and authenticate clients who possess and present
a valid X.509 digital certificate [<a href="./rfc5280" title=""Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile"">RFC5280</a>]. Support for this
feature is OPTIONAL.
RDAP does not impose any unique server authentication requirements.
The server authentication provided by TLS fully addresses the needs
of RDAP. In general, transports for RDAP must either provide a
TLS-protected transport (e.g., HTTPS) or a mechanism that provides an
equivalent level of server authentication.
Work on HTTP authentication methods continues. RDAP is designed to
be agile enough to support additional methods as they are defined.
<span class="h4"><a class="selflink" id="section-3.2.1" href="#section-3.2.1">3.2.1</a>. Federated Authentication</span>
The traditional client-server authentication model requires clients
to maintain distinct credentials for every RDAP server. This
situation can become unwieldy as the number of RDAP servers
increases. Federated authentication mechanisms allow clients to use
one credential to access multiple RDAP servers and reduce client
<span class="grey">Hollenbeck & Kong Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc7481">RFC 7481</a> RDAP Security Services March 2015</span>
credential management complexity. RDAP MAY include a federated
authentication mechanism that permits a client to access multiple
RDAP servers in the same federation with one credential.
Federated authentication mechanisms used by RDAP MUST be fully
supported by HTTP. OAuth, OpenID, Security Assertion Markup Language
(SAML), and mechanisms based on Certification Authority (CA) are all
possible approaches to provide federated authentication. At the time
of this document's publication, negotiation or advertisement of
federated authentication services is still an undefined mechanism by
the noted federated authentication protocols. Developing this
mechanism is beyond the scope of this document.
The OAuth authorization framework [<a href="./rfc6749" title=""The OAuth 2.0 Authorization Framework"">RFC6749</a>] describes a method for
users to access protected web resources without having to hand out
their credentials. Instead, clients are issued access tokens by
authorization servers with the permission of the resource owners.
Using OAuth, multiple RDAP servers can form a federation, and the
clients can access any server in the same federation by providing one
credential registered in any server in that federation. The OAuth
authorization framework is designed for use with HTTP and thus can be
used with RDAP.
OpenID [<a href="#ref-OpenID" title=""OpenID Authentication 2.0 - Final"">OpenID</a>] is a decentralized single sign-on authentication
system that allows users to log in at multiple web sites with one ID
instead of having to create multiple unique accounts. An end user
can freely choose which OpenID provider to use and can preserve their
Identifier if they switch OpenID providers.
Note that OAuth and OpenID do not consistently require data
confidentiality services to protect interactions between providers
and consumers. HTTP over TLS [<a href="./rfc2818" title=""HTTP Over TLS"">RFC2818</a>] can be used as needed to
provide protection against man-in-the-middle attacks.
SAML 2.0 [<a href="#ref-SAML" title=""Security Assertion Markup Language (SAML) v2.0"">SAML</a>] is an XML-based protocol that can be used to
implement web-based authentication and authorization services,
including single sign on. It uses security tokens containing
assertions to exchange information about an end user between an
identity provider and a service provider.
The Transport Layer Security protocol describes the specification of
a client certificate in <a href="./rfc5246#section-7.4.6">Section 7.4.6 of [RFC5246]</a>. Clients who
possess and present a valid X.509 digital certificate, issued by a
CA, could be identified and authenticated by a server who trusts the
corresponding CA. A certificate authentication method can be used to
achieve federated authentication in which multiple RDAP servers all
trust the same CAs, and then any client with a certificate issued by
a trusted CA can access any RDAP server in the federation. This
<span class="grey">Hollenbeck & Kong Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc7481">RFC 7481</a> RDAP Security Services March 2015</span>
certificate-based mechanism is supported by HTTPS and can be used
with RDAP.
<span class="h3"><a class="selflink" id="section-3.3" href="#section-3.3">3.3</a>. Authorization</span>
WHOIS does not provide services to grant different levels of access
to clients based on a client's authenticated identity. As noted in
<a href="#section-3.1.4.2">Section 3.1.4.2</a> of "Cross Registry Internet Service Protocol (CRISP)
Requirements" [<a href="./rfc3707" title=""Cross Registry Internet Service Protocol (CRISP) Requirements"">RFC3707</a>], there is utility in allowing server
operators to offer "varying degrees of access depending on policy and
need." Access control decisions can be made once a client's identity
has been established and authenticated (see <a href="#section-3.2">Section 3.2</a>).
Server operators MAY offer varying degrees of access depending on
policy and need in conjunction with the authentication methods
described in <a href="#section-3.2">Section 3.2</a>. If such varying degrees of access are
supported, an RDAP server MUST provide granular access controls (that
is, per registration data object) in order to implement authorization
policies. Some examples:
- Clients will be allowed access only to data for which they have a
relationship.
- Unauthenticated or anonymous access status may not yield any
contact information.
- Full access may be granted to a special group of authenticated
clients.
The type of access allowed by a server will most likely vary from one
operator to the next. A description of the response privacy
considerations associated with different levels of authorization can
be found in <a href="./rfc7483#section-13">Section 13 of [RFC7483]</a>.
<span class="h3"><a class="selflink" id="section-3.4" href="#section-3.4">3.4</a>. Availability</span>
An RDAP service has to be available to be useful. There are no RDAP-
unique requirements to provide availability, but as a general
security consideration, a service operator needs to be aware of the
issues associated with denial of service. A thorough reading of
"Internet Denial-of-Service Considerations" [<a href="./rfc4732" title=""Internet Denial-of-Service Considerations"">RFC4732</a>] is advised.
An RDAP service MAY use an HTTP throttling mechanism to limit the
number of queries that a single client can send in a given period of
time. If used, the server SHOULD return an HTTP 429 (Too Many
Requests) response code as described in "Additional HTTP Status
Codes" [<a href="./rfc6585" title=""Additional HTTP Status Codes"">RFC6585</a>]. A client that receives a 429 response SHOULD
decrease its query rate and honor the Retry-After header field if one
<span class="grey">Hollenbeck & Kong Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc7481">RFC 7481</a> RDAP Security Services March 2015</span>
is present. Note that this is not a defense against
denial-of-service attacks, since a malicious client could ignore the
code and continue to send queries at a high rate. A server might use
another response code if it did not wish to reveal to a client that
rate limiting is the reason for the denial of a reply.
<span class="h3"><a class="selflink" id="section-3.5" href="#section-3.5">3.5</a>. Data Confidentiality</span>
WHOIS does not provide the ability to protect data from inadvertent
disclosure while in transit. RDAP uses HTTP over TLS [<a href="./rfc2818" title=""HTTP Over TLS"">RFC2818</a>] to
provide that protection by encrypting all traffic sent on the
connection between client and server. HTTP over TLS MUST be used to
protect all client-server exchanges unless operational constraints
make it impossible to meet this requirement. It is also possible to
encrypt discrete objects (such as command path segments and JSON-
encoded response objects) at one endpoint, send them to the other
endpoint via an unprotected transport protocol, and decrypt the
object on receipt. Encryption algorithms as described in "Internet
Security Glossary, Version 2" [<a href="./rfc4949" title=""Internet Security Glossary, Version 2"">RFC4949</a>] are commonly used to provide
data confidentiality at the object level.
There are no current requirements for object-level data
confidentiality using encryption. Support for this feature could be
added to RDAP in the future.
As noted in <a href="#section-3.2">Section 3.2</a>, the HTTP "basic" authentication scheme can
be used to authenticate a client. When this scheme is used, HTTP
over TLS MUST be used to protect the client's credentials from
disclosure while in transit. If the policy of the server operator
requires encryption to protect client-server data exchanges (such as
to protect non-public data that cannot be accessed without client
identification and authentication), HTTP over TLS MUST be used to
protect those exchanges.
A description of privacy threats that can be addressed with
confidentiality services can be found in <a href="#section-4">Section 4</a>. <a href="./rfc7483#section-10.2.2">Section 10.2.2
of [RFC7483]</a> describes status values that can be used to describe
operator actions used to protect response data from disclosure to
unauthorized clients.
<span class="h3"><a class="selflink" id="section-3.6" href="#section-3.6">3.6</a>. Data Integrity</span>
WHOIS does not provide the ability to protect data from modification
while in transit. Web services such as RDAP commonly use HTTP over
TLS [<a href="./rfc2818" title=""HTTP Over TLS"">RFC2818</a>] to provide that protection by using a keyed Message
Authentication Code (MAC) to detect modifications. It is also
possible to sign discrete objects (such as command path segments and
JSON-encoded response objects) at one endpoint, send them to the
<span class="grey">Hollenbeck & Kong Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc7481">RFC 7481</a> RDAP Security Services March 2015</span>
other endpoint via a transport protocol, and validate the signature
of the object on receipt. Digital signature algorithms as described
in "Internet Security Glossary, Version 2" [<a href="./rfc4949" title=""Internet Security Glossary, Version 2"">RFC4949</a>] are commonly
used to provide data integrity at the object level.
There are no current requirements for object-level data integrity
using digital signatures. Support for this feature could be added to
RDAP in the future.
The most specific need for this service is to provide assurance that
HTTP 30x redirection hints [<a href="./rfc7231" title=""Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content"">RFC7231</a>] and response elements returned
from the server are not modified while in transit. If the policy of
the server operator requires message integrity for client-server data
exchanges, HTTP over TLS MUST be used to protect those exchanges.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Privacy Threats Associated with Registration Data</span>
Registration data has historically included personal data about
registrants. WHOIS services have historically made this information
available to the public, creating a privacy risk by revealing the
personal details of registrants. WHOIS services have not had the
benefit of authentication or access control mechanisms to gate access
to registration data. As a result of this, proxy and privacy
services have arisen to shield the identities of registrants.
The standardization of RDAP does not change or impact the data that
operators may require to be collected from registrants, but it
provides support for a number of mechanisms that may be used to
mitigate privacy threats to registrants should operators choose to
use them.
RDAP includes mechanisms that can be used to authenticate clients,
allowing servers to support tiered access based on local policy.
This means that all registration data need no longer be public, and
personal data or data that may be considered more sensitive can have
its access restricted to specifically privileged clients.
RDAP data structures allow servers to indicate via status values when
data returned to clients has been made private, redacted, obscured,
or registered by a proxy. "Private" means that the data is not
designated for public consumption. "Redacted" means that some
registration data fields are not being made available. "Obscured"
means that data has been altered for the purposes of not readily
revealing the actual registration information. One option that
operators have available to them to reduce privacy risks to
registrants is to adopt policies that make use of these status values
to restrict the registrant data shared with any or all clients
<span class="grey">Hollenbeck & Kong Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc7481">RFC 7481</a> RDAP Security Services March 2015</span>
according to the sensitivity of the data, the privileges of the
clients, or some other heuristics.
RDAP uses the jCard [<a href="./rfc7095" title=""jCard: The JSON Format for vCard"">RFC7095</a>] standard format for entity
representation. Operators may find that many of the jCard fields are
irrelevant for registry operation purposes or that they have no
reason to collect information from registrants that would correspond
to certain fields. Operators wishing to reduce privacy risks for
registrants may restrict which information they collect and/or which
fields they populate in responses.
In addition to privacy risks to registrants, there are also potential
privacy risks for those who query registration data. For example,
the fact that a registry employee performs a particular query may
reveal information about the employee's activities that he or she
would have preferred to keep private. RDAP supports the use of HTTP
over TLS to provide privacy protection for those querying registrant
data as well as registrants, unless operational constraints make it
impossible to meet this requirement.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Security Considerations</span>
One of the goals of RDAP is to provide security services that do not
exist in the WHOIS protocol. This document describes the security
services provided by RDAP and associated protocol layers, including
authentication, authorization, availability, data confidentiality,
and data integrity. Non-repudiation services were also considered
and ultimately rejected due to a lack of requirements. There are,
however, currently deployed WHOIS servers that can return signed
responses that provide non-repudiation with proof of origin. RDAP
might need to be extended to provide this service in the future.
As an HTTP-based protocol, RDAP is susceptible to code injection
attacks. Code injection refers to adding code into a computer system
or program to alter the course of execution. There are many types of
code injection, including SQL injection, dynamic variable or function
injection, include-file injection, shell injection, and HTML-script
injection, among others. Data confidentiality and integrity services
provide a measure of defense against man-in-the-middle injection
attacks, but vulnerabilities in both client- and server-side software
make it possible for injection attacks to succeed. Consistently
checking and validating server credentials can help detect
man-in-the-middle attacks.
As noted in <a href="#section-3.2.1">Section 3.2.1</a>, digital certificates can be used to
implement federated authentication. There is a risk of too
promiscuous, or even rogue, CAs being included in the list of
acceptable CAs that the TLS server sends the client as part of the
<span class="grey">Hollenbeck & Kong Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc7481">RFC 7481</a> RDAP Security Services March 2015</span>
TLS client-authentication handshake and lending the appearance of
trust to certificates signed by those CAs. Periodic monitoring of
the list of CAs that RDAP servers trust for client authentication can
help reduce this risk.
The Transport Layer Security protocol [<a href="./rfc5246" title=""The Transport Layer Security (TLS) Protocol Version 1.2"">RFC5246</a>] includes a null
cipher suite that does not encrypt data and thus does not provide
data confidentiality. This option MUST NOT be used when data
confidentiality services are needed. Additional considerations for
secure use of TLS are described in [<a href="#ref-SECURE-TLS-DTLS">SECURE-TLS-DTLS</a>].
Data integrity services are sometimes mistakenly associated with
directory service operational policy requirements focused on data
accuracy. "Accuracy" refers to the truthful association of data
elements (such as names, addresses, and telephone numbers) in the
context of a particular directory object (such as a domain name).
Accuracy requirements are out of scope for this protocol.
Additional security considerations are described in the
specifications for HTTP [<a href="./rfc7231" title=""Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content"">RFC7231</a>], HTTP Basic and Digest access
authentication [<a href="./rfc7235" title=""Hypertext Transfer Protocol (HTTP/1.1): Authentication"">RFC7235</a>], HTTP over TLS [<a href="./rfc2818" title=""HTTP Over TLS"">RFC2818</a>], and additional
HTTP status codes [<a href="./rfc6585" title=""Additional HTTP Status Codes"">RFC6585</a>]. Security considerations for federated
authentication systems can be found in the OAuth [<a href="./rfc6749" title=""The OAuth 2.0 Authorization Framework"">RFC6749</a>] and OpenID
[<a href="#ref-OpenID" title=""OpenID Authentication 2.0 - Final"">OpenID</a>] specifications.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. References</span>
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. Normative References</span>
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997,
<<a href="http://www.rfc-editor.org/info/rfc2119">http://www.rfc-editor.org/info/rfc2119</a>>.
[<a id="ref-RFC2818">RFC2818</a>] Rescorla, E., "HTTP Over TLS", <a href="./rfc2818">RFC 2818</a>, May 2000,
<<a href="http://www.rfc-editor.org/info/rfc2818">http://www.rfc-editor.org/info/rfc2818</a>>.
[<a id="ref-RFC6585">RFC6585</a>] Nottingham, M. and R. Fielding, "Additional HTTP Status
Codes", <a href="./rfc6585">RFC 6585</a>, April 2012,
<<a href="http://www.rfc-editor.org/info/rfc6585">http://www.rfc-editor.org/info/rfc6585</a>>.
[<a id="ref-RFC7231">RFC7231</a>] Fielding, R., Ed. and J. Reschke, Ed., "Hypertext Transfer
Protocol (HTTP/1.1): Semantics and Content", <a href="./rfc7231">RFC 7231</a>,
June 2014, <<a href="http://www.rfc-editor.org/info/rfc7231">http://www.rfc-editor.org/info/rfc7231</a>>.
[<a id="ref-RFC7235">RFC7235</a>] Fielding, R., Ed. and J. Reschke, Ed., "Hypertext Transfer
Protocol (HTTP/1.1): Authentication", <a href="./rfc7235">RFC 7235</a>, June 2014,
<<a href="http://www.rfc-editor.org/info/rfc7235">http://www.rfc-editor.org/info/rfc7235</a>>.
<span class="grey">Hollenbeck & Kong Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc7481">RFC 7481</a> RDAP Security Services March 2015</span>
[<a id="ref-RFC7480">RFC7480</a>] Newton, A., Ellacott, B., and N. Kong, "HTTP Usage in the
Registration Data Access Protocol (RDAP)", <a href="./rfc7480">RFC 7480</a>, March
2015, <<a href="http://www.rfc-editor.org/info/rfc7480">http://www.rfc-editor.org/info/rfc7480</a>>.
[<a id="ref-RFC7482">RFC7482</a>] Newton, A. and S. Hollenbeck, "Registration Data Access
Protocol (RDAP) Query Format", <a href="./rfc7482">RFC 7482</a>, March 2015,
<<a href="http://www.rfc-editor.org/info/rfc7482">http://www.rfc-editor.org/info/rfc7482</a>>.
[<a id="ref-RFC7483">RFC7483</a>] Newton, A. and S. Hollenbeck, "JSON Responses for the
Registration Data Access Protocol (RDAP)", <a href="./rfc7483">RFC 7483</a>, March
2015, <<a href="http://www.rfc-editor.org/info/rfc7483">http://www.rfc-editor.org/info/rfc7483</a>>.
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. Informative References</span>
[<a id="ref-OpenID">OpenID</a>] OpenID Foundation, "OpenID Authentication 2.0 - Final",
December 2007, <<a href="http://specs.openid.net/auth/2.0">http://specs.openid.net/auth/2.0</a>>.
[<a id="ref-RFC3707">RFC3707</a>] Newton, A., "Cross Registry Internet Service Protocol
(CRISP) Requirements", <a href="./rfc3707">RFC 3707</a>, February 2004,
<<a href="http://www.rfc-editor.org/info/rfc3707">http://www.rfc-editor.org/info/rfc3707</a>>.
[<a id="ref-RFC3912">RFC3912</a>] Daigle, L., "WHOIS Protocol Specification", <a href="./rfc3912">RFC 3912</a>,
September 2004, <<a href="http://www.rfc-editor.org/info/rfc3912">http://www.rfc-editor.org/info/rfc3912</a>>.
[<a id="ref-RFC4732">RFC4732</a>] Handley, M., Ed., Rescorla, E., Ed., and IAB, "Internet
Denial-of-Service Considerations", <a href="./rfc4732">RFC 4732</a>, December
2006, <<a href="http://www.rfc-editor.org/info/rfc4732">http://www.rfc-editor.org/info/rfc4732</a>>.
[<a id="ref-RFC4949">RFC4949</a>] Shirey, R., "Internet Security Glossary, Version 2", FYI
36, <a href="./rfc4949">RFC 4949</a>, August 2007,
<<a href="http://www.rfc-editor.org/info/rfc4949">http://www.rfc-editor.org/info/rfc4949</a>>.
[<a id="ref-RFC5246">RFC5246</a>] Dierks, T. and E. Rescorla, "The Transport Layer Security
(TLS) Protocol Version 1.2", <a href="./rfc5246">RFC 5246</a>, August 2008,
<<a href="http://www.rfc-editor.org/info/rfc5246">http://www.rfc-editor.org/info/rfc5246</a>>.
[<a id="ref-RFC5280">RFC5280</a>] Cooper, D., Santesson, S., Farrell, S., Boeyen, S.,
Housley, R., and W. Polk, "Internet X.509 Public Key
Infrastructure Certificate and Certificate Revocation List
(CRL) Profile", <a href="./rfc5280">RFC 5280</a>, May 2008,
<<a href="http://www.rfc-editor.org/info/rfc5280">http://www.rfc-editor.org/info/rfc5280</a>>.
[<a id="ref-RFC6749">RFC6749</a>] Hardt, D., Ed., "The OAuth 2.0 Authorization Framework",
<a href="./rfc6749">RFC 6749</a>, October 2012,
<<a href="http://www.rfc-editor.org/info/rfc6749">http://www.rfc-editor.org/info/rfc6749</a>>.
[<a id="ref-RFC7095">RFC7095</a>] Kewisch, P., "jCard: The JSON Format for vCard", <a href="./rfc7095">RFC 7095</a>,
January 2014, <<a href="http://www.rfc-editor.org/info/rfc7095">http://www.rfc-editor.org/info/rfc7095</a>>.
<span class="grey">Hollenbeck & Kong Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc7481">RFC 7481</a> RDAP Security Services March 2015</span>
[<a id="ref-SAML">SAML</a>] OASIS, "Security Assertion Markup Language (SAML) v2.0",
March 2005, <<a href="https://www.oasis-open.org/standards#samlv2.0">https://www.oasis-open.org/</a>
<a href="https://www.oasis-open.org/standards#samlv2.0">standards#samlv2.0</a>>.
[<a id="ref-SECURE-TLS-DTLS">SECURE-TLS-DTLS</a>]
Sheffer, Y., Holz, R., and P. Saint-Andre,
"Recommendations for Secure Use of TLS and DTLS", Work in
Progress, <a href="./draft-ietf-uta-tls-bcp-09">draft-ietf-uta-tls-bcp-09</a>, February 2015.
<span class="grey">Hollenbeck & Kong Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc7481">RFC 7481</a> RDAP Security Services March 2015</span>
Acknowledgements
The authors would like to acknowledge the following individuals for
their contributions to this document: Richard Barnes, Marc Blanchet,
Alissa Cooper, Ernie Dainow, Spencer Dawkins, Jean-Philippe Dionne,
Byron Ellacott, Stephen Farrell, Tony Hansen, Peter Koch, Murray
Kucherawy, Barry Leiba, Andrew Newton, and Linlin Zhou.
Authors' Addresses
Scott Hollenbeck
Verisign Labs
12061 Bluemont Way
Reston, VA 20190
United States
EMail: shollenbeck@verisign.com
URI: <a href="http://www.verisignlabs.com/">http://www.verisignlabs.com/</a>
Ning Kong
China Internet Network Information Center
4 South 4th Street, Zhongguancun, Haidian District
Beijing 100190
China
Phone: +86 10 5881 3147
EMail: nkong@cnnic.cn
Hollenbeck & Kong Standards Track [Page 13]
</pre>
|